pub struct SlackAuthInfo {
pub user_id: String,
pub user_name: Option<String>,
pub team_id: String,
pub team_name: String,
pub bot_id: Option<String>,
pub url: Option<String>,
pub scopes: Vec<String>,
pub missing_scopes: Vec<String>,
}Fields§
§user_id: String§user_name: Option<String>§team_id: String§team_name: String§bot_id: Option<String>§url: Option<String>§scopes: Vec<String>§missing_scopes: Vec<String>Trait Implementations§
Source§impl Clone for SlackAuthInfo
impl Clone for SlackAuthInfo
Source§fn clone(&self) -> SlackAuthInfo
fn clone(&self) -> SlackAuthInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlackAuthInfo
impl Debug for SlackAuthInfo
Source§impl PartialEq for SlackAuthInfo
impl PartialEq for SlackAuthInfo
Source§fn eq(&self, other: &SlackAuthInfo) -> bool
fn eq(&self, other: &SlackAuthInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SlackAuthInfo
impl StructuralPartialEq for SlackAuthInfo
Auto Trait Implementations§
impl Freeze for SlackAuthInfo
impl RefUnwindSafe for SlackAuthInfo
impl Send for SlackAuthInfo
impl Sync for SlackAuthInfo
impl Unpin for SlackAuthInfo
impl UnsafeUnpin for SlackAuthInfo
impl UnwindSafe for SlackAuthInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.