pub struct User {Show 20 fields
pub id: String,
pub first_name: String,
pub last_name: String,
pub full_name: String,
pub email: String,
pub country: String,
pub city: String,
pub state: String,
pub address: String,
pub post_code: String,
pub currency: String,
pub currency_symbol: String,
pub phone_number: String,
pub tckn: Option<String>,
pub company_name: Option<String>,
pub birth_year: Option<String>,
pub banned: bool,
pub current_session_id: String,
pub totp_enabled: bool,
pub stats: UserStats,
}Fields§
§id: String§first_name: String§last_name: String§full_name: String§email: String§country: String§city: String§state: String§address: String§post_code: String§currency: String§currency_symbol: String§phone_number: String§tckn: Option<String>§company_name: Option<String>§birth_year: Option<String>§banned: bool§current_session_id: String§totp_enabled: bool§stats: UserStatsTrait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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 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