Struct slack::User
[−]
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_owner: Option<bool>, pub is_primary_owner: Option<bool>, pub is_restricted: Option<bool>, pub is_ultra_restricted: Option<bool>, pub name: Option<String>, pub profile: Option<UserProfile>, pub two_factor_type: Option<String>, }
Fields
color: Option<String>
deleted: Option<bool>
has_2fa: Option<bool>
id: Option<String>
is_admin: Option<bool>
is_owner: Option<bool>
is_primary_owner: Option<bool>
is_restricted: Option<bool>
is_ultra_restricted: Option<bool>
name: Option<String>
profile: Option<UserProfile>
two_factor_type: Option<String>
Trait Implementations
impl Deserialize for User
fn deserialize<__D>(__deserializer: __D) -> Result<User, __D::Error> where
__D: Deserializer,
__D: Deserializer,
impl Clone for User
fn clone(&self) -> User
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more