[][src]Struct slack_chat_api::User

pub struct User {
    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 locale: String,
    // some fields omitted
}

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: i64locale: String

Trait Implementations

impl Clone for User[src]

impl Debug for User[src]

impl Default for User[src]

impl<'de> Deserialize<'de> for User[src]

impl Serialize for User[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,