Struct rustream::squire::authenticator::AuthToken
source · pub struct AuthToken {
pub ok: bool,
pub detail: String,
pub username: String,
}Expand description
Represents the result of authentication, indicating whether it was successful or not.
If successful, it includes the username and a generated key for the session.
Fields§
§ok: bool§detail: String§username: StringAuto Trait Implementations§
impl RefUnwindSafe for AuthToken
impl Send for AuthToken
impl Sync for AuthToken
impl Unpin for AuthToken
impl UnwindSafe for AuthToken
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