pub struct LoginState {
pub credentials: Option<Credentials>,
pub sid_cookie: Option<String>,
}Expand description
Login state
Represents the authentication state of a user in the system.
Fields§
§credentials: Option<Credentials>Implementations§
Source§impl LoginState
impl LoginState
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoginState
impl RefUnwindSafe for LoginState
impl Send for LoginState
impl Sync for LoginState
impl Unpin for LoginState
impl UnsafeUnpin for LoginState
impl UnwindSafe for LoginState
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