Struct slack::User []

pub struct User {
    pub id: String,
    pub name: String,
    pub deleted: bool,
    pub color: Option<String>,
    pub profile: UserProfile,
    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 has_2fa: Option<bool>,
    pub two_factor_type: Option<String>,
    pub has_files: Option<bool>,
}

The Slack User type.

Fields

id: String name: String deleted: bool color: Option<String> profile: UserProfile is_admin: Option<bool> is_owner: Option<bool> is_primary_owner: Option<bool> is_restricted: Option<bool> is_ultra_restricted: Option<bool> has_2fa: Option<bool> two_factor_type: Option<String> has_files: Option<bool>

Trait Implementations

impl Decodable for User

fn decode<__D>(__arg_0: &mut __D) -> Result<User, __D::Error> where __D: Decoder

impl Debug for User

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

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