Struct slack::User [−][src]
pub struct User { pub color: Option<String>, pub deleted: Option<bool>, pub has_2fa: Option<bool>, pub id: Option<String>, pub is_admin: Option<bool>, pub is_app_user: Option<bool>, pub is_bot: Option<bool>, pub is_owner: Option<bool>, pub is_primary_owner: Option<bool>, pub is_restricted: Option<bool>, pub is_ultra_restricted: Option<bool>, pub locale: Option<String>, pub name: Option<String>, pub profile: Option<UserProfile>, pub real_name: Option<String>, pub team_id: Option<String>, pub two_factor_type: Option<String>, pub tz: Option<String>, pub tz_label: Option<String>, pub tz_offset: Option<f32>, pub updated: Option<f32>, }
Fields
color: Option<String>
deleted: Option<bool>
has_2fa: Option<bool>
id: Option<String>
is_admin: Option<bool>
is_app_user: Option<bool>
is_bot: Option<bool>
is_owner: Option<bool>
is_primary_owner: Option<bool>
is_restricted: Option<bool>
is_ultra_restricted: Option<bool>
locale: Option<String>
name: Option<String>
profile: Option<UserProfile>
real_name: Option<String>
team_id: Option<String>
two_factor_type: Option<String>
tz: Option<String>
tz_label: Option<String>
tz_offset: Option<f32>
updated: Option<f32>
Trait Implementations
impl Clone for User
[src]
impl Clone for User
fn clone(&self) -> User
[src]
fn clone(&self) -> User
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for User
[src]
impl Debug for User
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for User
[src]
impl<'de> Deserialize<'de> for User
fn deserialize<__D>(
__deserializer: __D
) -> Result<User, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<User, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more