pub struct AuthStateChange {
pub event: AuthChangeEvent,
pub session: Option<Session>,
}Expand description
An auth state change notification, containing the event type and optional session.
Fields§
§event: AuthChangeEvent§session: Option<Session>Trait Implementations§
Source§impl Clone for AuthStateChange
impl Clone for AuthStateChange
Source§fn clone(&self) -> AuthStateChange
fn clone(&self) -> AuthStateChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthStateChange
impl RefUnwindSafe for AuthStateChange
impl Send for AuthStateChange
impl Sync for AuthStateChange
impl Unpin for AuthStateChange
impl UnsafeUnpin for AuthStateChange
impl UnwindSafe for AuthStateChange
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