pub struct AuthenticatedUser {
pub active: bool,
pub capabilities: Vec<String>,
pub email: String,
pub id: String,
pub image: Option<String>,
pub last_login: Option<String>,
pub name: String,
pub origin: String,
}Expand description
User record returned by Auth.Me.
Fields§
§active: bool§capabilities: Vec<String>§email: String§id: String§image: Option<String>§last_login: Option<String>§name: String§origin: StringTrait Implementations§
Source§impl Clone for AuthenticatedUser
impl Clone for AuthenticatedUser
Source§fn clone(&self) -> AuthenticatedUser
fn clone(&self) -> AuthenticatedUser
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 AuthenticatedUser
impl Debug for AuthenticatedUser
Source§impl<'de> Deserialize<'de> for AuthenticatedUser
impl<'de> Deserialize<'de> for AuthenticatedUser
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthenticatedUser
impl PartialEq for AuthenticatedUser
Source§impl Serialize for AuthenticatedUser
impl Serialize for AuthenticatedUser
impl StructuralPartialEq for AuthenticatedUser
Auto Trait Implementations§
impl Freeze for AuthenticatedUser
impl RefUnwindSafe for AuthenticatedUser
impl Send for AuthenticatedUser
impl Sync for AuthenticatedUser
impl Unpin for AuthenticatedUser
impl UnsafeUnpin for AuthenticatedUser
impl UnwindSafe for AuthenticatedUser
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