pub struct SlackToken {
pub access_token: String,
pub team_id: String,
pub team_name: String,
pub bot: Box<SlackTokenBot>,
}
Fields§
§access_token: String
§team_id: String
§team_name: String
§bot: Box<SlackTokenBot>
Implementations§
Source§impl SlackToken
impl SlackToken
pub fn new( access_token: String, team_id: String, team_name: String, bot: SlackTokenBot, ) -> SlackToken
Trait Implementations§
Source§impl Clone for SlackToken
impl Clone for SlackToken
Source§fn clone(&self) -> SlackToken
fn clone(&self) -> SlackToken
Returns a duplicate of the value. Read more
1.0.0 · 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 SlackToken
impl Debug for SlackToken
Source§impl Default for SlackToken
impl Default for SlackToken
Source§fn default() -> SlackToken
fn default() -> SlackToken
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SlackToken
impl<'de> Deserialize<'de> for SlackToken
Source§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
Source§impl PartialEq for SlackToken
impl PartialEq for SlackToken
Source§impl Serialize for SlackToken
impl Serialize for SlackToken
impl StructuralPartialEq for SlackToken
Auto Trait Implementations§
impl Freeze for SlackToken
impl RefUnwindSafe for SlackToken
impl Send for SlackToken
impl Sync for SlackToken
impl Unpin for SlackToken
impl UnwindSafe for SlackToken
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