pub enum ConversationKind {
Dm,
GroupDm,
PublicChannel,
PrivateChannel,
}Expand description
Type of slack “conversations”; dms and channels.
Variants§
Dm
A direct message
GroupDm
A group DM
PublicChannel
A public channel
PrivateChannel
A private channel
Trait Implementations§
Source§impl Clone for ConversationKind
impl Clone for ConversationKind
Source§fn clone(&self) -> ConversationKind
fn clone(&self) -> ConversationKind
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 ConversationKind
impl Debug for ConversationKind
Source§impl<'de> Deserialize<'de> for ConversationKind
impl<'de> Deserialize<'de> for ConversationKind
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 Hash for ConversationKind
impl Hash for ConversationKind
Source§impl PartialEq for ConversationKind
impl PartialEq for ConversationKind
Source§impl Serialize for ConversationKind
impl Serialize for ConversationKind
impl Copy for ConversationKind
impl StructuralPartialEq for ConversationKind
Auto Trait Implementations§
impl Freeze for ConversationKind
impl RefUnwindSafe for ConversationKind
impl Send for ConversationKind
impl Sync for ConversationKind
impl Unpin for ConversationKind
impl UnwindSafe for ConversationKind
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