#[non_exhaustive]pub struct Identity {Show 14 fields
pub id: i64,
pub name: Option<String>,
pub avatar_url: Option<String>,
pub icon_url: Option<String>,
pub time_zone: Option<String>,
pub time_zone_name: Option<String>,
pub time_zone_offset: Option<i32>,
pub auto_time_zone: Option<bool>,
pub first_week_day: Option<i32>,
pub time_format: Option<String>,
pub primary_contact: Option<Contact>,
pub all_users: Option<Vec<User>>,
pub accounts: Option<Vec<Account>>,
pub senders: Option<Vec<Sender>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: i64§name: Option<String>§avatar_url: Option<String>§icon_url: Option<String>§time_zone: Option<String>§time_zone_name: Option<String>§time_zone_offset: Option<i32>§auto_time_zone: Option<bool>§first_week_day: Option<i32>§time_format: Option<String>§primary_contact: Option<Contact>§all_users: Option<Vec<User>>§accounts: Option<Vec<Account>>§senders: Option<Vec<Sender>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Identity
impl<'de> Deserialize<'de> for Identity
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
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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