pub struct AuthorizerEvent<'a> {
pub action: AuthorizerAction,
pub code: i32,
pub arg1: Option<&'a str>,
pub arg2: Option<&'a str>,
pub db_name: Option<&'a str>,
pub trigger_or_view: Option<&'a str>,
}Expand description
Arguments passed to the authorizer callback.
Fields§
§action: AuthorizerActionAction decoded into a typed enum when recognized.
code: i32Original numeric SQLite authorizer action code.
arg1: Option<&'a str>First optional action argument.
arg2: Option<&'a str>Second optional action argument.
db_name: Option<&'a str>Optional database name for the action.
trigger_or_view: Option<&'a str>Optional trigger or view name for the action.
Auto Trait Implementations§
impl<'a> Freeze for AuthorizerEvent<'a>
impl<'a> RefUnwindSafe for AuthorizerEvent<'a>
impl<'a> Send for AuthorizerEvent<'a>
impl<'a> Sync for AuthorizerEvent<'a>
impl<'a> Unpin for AuthorizerEvent<'a>
impl<'a> UnsafeUnpin for AuthorizerEvent<'a>
impl<'a> UnwindSafe for AuthorizerEvent<'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