[][src]Struct slack_morphism::api::SlackOAuthV2AuthedUser

pub struct SlackOAuthV2AuthedUser {
    pub id: String,
    pub scope: Option<String>,
    pub access_token: Option<String>,
    pub token_type: Option<String>,
}

Fields

id: Stringscope: Option<String>access_token: Option<String>token_type: Option<String>

Implementations

impl SlackOAuthV2AuthedUser[src]

pub fn new(id: String) -> Self[src]

pub fn id(&mut self, value: String) -> &mut Self[src]

pub fn with_id(self, value: String) -> Self[src]

pub fn scope(&mut self, value: String) -> &mut Self[src]

pub fn reset_scope(&mut self) -> &mut Self[src]

pub fn mopt_scope(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_scope(self, value: String) -> Self[src]

pub fn without_scope(self) -> Self[src]

pub fn opt_scope(self, value: Option<String>) -> Self[src]

pub fn access_token(&mut self, value: String) -> &mut Self[src]

pub fn reset_access_token(&mut self) -> &mut Self[src]

pub fn mopt_access_token(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_access_token(self, value: String) -> Self[src]

pub fn without_access_token(self) -> Self[src]

pub fn opt_access_token(self, value: Option<String>) -> Self[src]

pub fn token_type(&mut self, value: String) -> &mut Self[src]

pub fn reset_token_type(&mut self) -> &mut Self[src]

pub fn mopt_token_type(&mut self, value: Option<String>) -> &mut Self[src]

pub fn with_token_type(self, value: String) -> Self[src]

pub fn without_token_type(self) -> Self[src]

pub fn opt_token_type(self, value: Option<String>) -> Self[src]

Trait Implementations

impl Clone for SlackOAuthV2AuthedUser[src]

impl Debug for SlackOAuthV2AuthedUser[src]

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

impl From<SlackOAuthV2AuthedUserInit> for SlackOAuthV2AuthedUser[src]

impl PartialEq<SlackOAuthV2AuthedUser> for SlackOAuthV2AuthedUser[src]

impl Serialize for SlackOAuthV2AuthedUser[src]

impl StructuralPartialEq for SlackOAuthV2AuthedUser[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> From<T> 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.