pub struct PolicyAction<'a> {
pub action: AuthAction<'a>,
pub database: Option<&'a str>,
pub accessor: Option<&'a str>,
pub owner: Owner,
pub scope: StatementScope,
}Expand description
One action SQLite reports, as the authorizer asks the policy about it.
Fields§
§action: AuthAction<'a>What the statement does, as SQLite reports it.
database: Option<&'a str>The schema the action touches, main, temp or an attached one.
accessor: Option<&'a str>The trigger or view whose code the action runs in, if any.
owner: OwnerWhose statement it is: the host’s own or the app’s.
scope: StatementScopeThe scope the statement runs in.
Auto Trait Implementations§
impl<'a> Freeze for PolicyAction<'a>
impl<'a> RefUnwindSafe for PolicyAction<'a>
impl<'a> Send for PolicyAction<'a>
impl<'a> Sync for PolicyAction<'a>
impl<'a> Unpin for PolicyAction<'a>
impl<'a> UnsafeUnpin for PolicyAction<'a>
impl<'a> UnwindSafe for PolicyAction<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more