Struct slack_chat_api::User [−][src]
pub struct User {Show 21 fields
pub id: String,
pub team_id: String,
pub email: String,
pub is_admin: bool,
pub is_owner: bool,
pub is_primary_owner: bool,
pub is_restricted: bool,
pub is_ultra_restricted: bool,
pub is_bot: bool,
pub deleted: bool,
pub is_stranger: bool,
pub is_app_user: bool,
pub is_invited_user: bool,
pub has_2fa: bool,
pub name: String,
pub real_name: String,
pub tz: String,
pub tz_label: String,
pub tz_offset: i64,
pub profile: UserProfile,
pub locale: String,
}Expand description
The data type for a User. FROM: https://api.slack.com/types/user
Fields
id: Stringteam_id: Stringemail: Stringis_admin: boolis_owner: boolis_primary_owner: boolis_restricted: boolis_ultra_restricted: boolis_bot: booldeleted: boolis_stranger: boolis_app_user: boolis_invited_user: boolhas_2fa: boolname: Stringreal_name: Stringtz: Stringtz_label: Stringtz_offset: i64profile: UserProfilelocale: StringTrait Implementations
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 RefUnwindSafe for User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more