pub enum AdapterEvent<S: AuthSchema> {
UserCreated(AdapterRecord<S::User>),
UserUpdated(AdapterRecord<S::User>),
SessionCreated(AdapterRecord<S::Session>),
SessionUpdated(AdapterRecord<S::Session>),
AccountCreated(AdapterRecord<S::Account>),
AccountUpdated(AdapterRecord<S::Account>),
}Expand description
A persisted adapter result after declared output transforms. Hidden fields remain present; public response filtering has not run on this record.
Variants§
UserCreated(AdapterRecord<S::User>)
UserUpdated(AdapterRecord<S::User>)
SessionCreated(AdapterRecord<S::Session>)
SessionUpdated(AdapterRecord<S::Session>)
AccountCreated(AdapterRecord<S::Account>)
AccountUpdated(AdapterRecord<S::Account>)
Auto Trait Implementations§
impl<S> Freeze for AdapterEvent<S>where
AdapterRecord<<S as AuthSchema>::User>: Freeze,
AdapterRecord<<S as AuthSchema>::Session>: Freeze,
AdapterRecord<<S as AuthSchema>::Account>: Freeze,
impl<S> RefUnwindSafe for AdapterEvent<S>where
AdapterRecord<<S as AuthSchema>::User>: RefUnwindSafe,
AdapterRecord<<S as AuthSchema>::Session>: RefUnwindSafe,
AdapterRecord<<S as AuthSchema>::Account>: RefUnwindSafe,
impl<S> Send for AdapterEvent<S>where
AdapterRecord<<S as AuthSchema>::User>: Send,
AdapterRecord<<S as AuthSchema>::Session>: Send,
AdapterRecord<<S as AuthSchema>::Account>: Send,
impl<S> Sync for AdapterEvent<S>where
AdapterRecord<<S as AuthSchema>::User>: Sync,
AdapterRecord<<S as AuthSchema>::Session>: Sync,
AdapterRecord<<S as AuthSchema>::Account>: Sync,
impl<S> Unpin for AdapterEvent<S>where
AdapterRecord<<S as AuthSchema>::User>: Unpin,
AdapterRecord<<S as AuthSchema>::Session>: Unpin,
AdapterRecord<<S as AuthSchema>::Account>: Unpin,
impl<S> UnsafeUnpin for AdapterEvent<S>where
AdapterRecord<<S as AuthSchema>::User>: UnsafeUnpin,
AdapterRecord<<S as AuthSchema>::Session>: UnsafeUnpin,
AdapterRecord<<S as AuthSchema>::Account>: UnsafeUnpin,
impl<S> UnwindSafe for AdapterEvent<S>where
AdapterRecord<<S as AuthSchema>::User>: UnwindSafe,
AdapterRecord<<S as AuthSchema>::Session>: UnwindSafe,
AdapterRecord<<S as AuthSchema>::Account>: UnwindSafe,
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