pub struct UserAuthContext {
pub scope: AuthScope,
pub user: ShortUser,
pub is_administrator: bool,
}Fields§
§scope: AuthScope§user: ShortUser§is_administrator: boolTrait Implementations§
Source§impl Clone for UserAuthContext
impl Clone for UserAuthContext
Source§fn clone(&self) -> UserAuthContext
fn clone(&self) -> UserAuthContext
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 moreSource§impl Debug for UserAuthContext
impl Debug for UserAuthContext
Source§impl Hash for UserAuthContext
impl Hash for UserAuthContext
Source§impl Ord for UserAuthContext
impl Ord for UserAuthContext
Source§fn cmp(&self, other: &UserAuthContext) -> Ordering
fn cmp(&self, other: &UserAuthContext) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserAuthContext
impl PartialEq for UserAuthContext
Source§impl PartialOrd for UserAuthContext
impl PartialOrd for UserAuthContext
impl Eq for UserAuthContext
impl StructuralPartialEq for UserAuthContext
Auto Trait Implementations§
impl Freeze for UserAuthContext
impl RefUnwindSafe for UserAuthContext
impl Send for UserAuthContext
impl Sync for UserAuthContext
impl Unpin for UserAuthContext
impl UnwindSafe for UserAuthContext
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