pub struct User {Show 22 fields
pub user_id: String,
pub full_name: String,
pub identity_number: String,
pub phone: String,
pub biography: String,
pub avatar_url: String,
pub relationship: String,
pub mute_until: String,
pub created_at: String,
pub is_verified: bool,
pub session_id: String,
pub pin_token: String,
pub pin_token_base64: String,
pub code_id: String,
pub code_url: String,
pub has_pin: bool,
pub has_emergency_contact: bool,
pub receive_message_source: String,
pub accept_conversation_source: String,
pub accept_search_source: String,
pub fiat_currency: String,
pub device_status: String,
}
Fields§
§user_id: String
§full_name: String
§identity_number: String
§phone: String
§biography: String
§avatar_url: String
§relationship: String
§mute_until: String
§created_at: String
§is_verified: bool
§session_id: String
§pin_token: String
§pin_token_base64: String
§code_id: String
§code_url: String
§has_pin: bool
§has_emergency_contact: bool
§receive_message_source: String
§accept_conversation_source: String
§accept_search_source: String
§fiat_currency: String
§device_status: String
Trait 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