Struct slack_chat_api::AccessToken [−][src]
pub struct AccessToken {
pub ok: bool,
pub access_token: String,
pub token_type: String,
pub scope: String,
pub bot_user_id: String,
pub app_id: String,
pub team: Team,
pub enterprise: Option<Enterprise>,
pub authed_user: Option<AuthedUser>,
pub incoming_webhook: Option<IncomingWebhook>,
}Fields
ok: boolaccess_token: Stringtoken_type: Stringscope: Stringbot_user_id: Stringapp_id: Stringteam: Teamenterprise: Option<Enterprise>authed_user: Option<AuthedUser>incoming_webhook: Option<IncomingWebhook>Trait Implementations
Returns the “default value” for a type. Read more
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 AccessToken
impl Send for AccessToken
impl Sync for AccessToken
impl Unpin for AccessToken
impl UnwindSafe for AccessToken
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