pub struct SimpleUser {
pub id: String,
pub email: String,
pub first_name: String,
pub last_name: String,
pub v: u8,
pub devices: Vec<UserDevice>,
pub encryption_version: Option<u8>,
pub is_mfa_enabled: bool,
pub mfa_methods: Vec<String>,
pub audit: Audit,
}
Fields§
§id: String
§email: String
§first_name: String
§last_name: String
§v: u8
§devices: Vec<UserDevice>
§encryption_version: Option<u8>
§is_mfa_enabled: bool
§mfa_methods: Vec<String>
§audit: Audit
Trait Implementations§
Source§impl Clone for SimpleUser
impl Clone for SimpleUser
Source§fn clone(&self) -> SimpleUser
fn clone(&self) -> SimpleUser
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimpleUser
impl Debug for SimpleUser
Source§impl<'de> Deserialize<'de> for SimpleUser
impl<'de> Deserialize<'de> for SimpleUser
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
Auto Trait Implementations§
impl Freeze for SimpleUser
impl RefUnwindSafe for SimpleUser
impl Send for SimpleUser
impl Sync for SimpleUser
impl Unpin for SimpleUser
impl UnwindSafe for SimpleUser
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