pub struct User {
pub created: OffsetDateTime,
pub modified: Option<OffsetDateTime>,
pub first_name: String,
pub last_name: String,
pub verified: bool,
pub email: String,
pub preferences: UserPreferences,
pub internal_meta_data: Option<HashMap<String, String>>,
pub deleted: Option<bool>,
pub api_access_enabled: bool,
pub links: HashMap<String, Url>,
}Expand description
A user in freedom
Fields§
§created: OffsetDateTime§modified: Option<OffsetDateTime>§first_name: String§last_name: String§verified: bool§email: String§preferences: UserPreferences§internal_meta_data: Option<HashMap<String, String>>Unavailable for user accounts
deleted: Option<bool>Unavailable for user accounts
api_access_enabled: bool§links: HashMap<String, Url>Trait Implementations§
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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