pub struct SlackConversation {
pub id: String,
pub name: Option<String>,
pub is_channel: bool,
pub is_private: bool,
pub is_im: bool,
pub is_mpim: bool,
pub is_archived: bool,
pub user: Option<String>,
pub purpose: Option<SlackConversationText>,
pub topic: Option<SlackConversationText>,
}Expand description
A conversation as users.conversations reports it. Fields Slack omits
per conversation type default rather than failing the whole decode.
Fields§
§id: String§name: Option<String>§is_channel: bool§is_private: bool§is_im: bool§is_mpim: bool§is_archived: bool§user: Option<String>The other member’s user id, present on a DM.
purpose: Option<SlackConversationText>§topic: Option<SlackConversationText>Trait Implementations§
Source§impl Clone for SlackConversation
impl Clone for SlackConversation
Source§impl Debug for SlackConversation
impl Debug for SlackConversation
Source§impl<'de> Deserialize<'de> for SlackConversation
impl<'de> Deserialize<'de> for SlackConversation
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
Auto Trait Implementations§
impl Freeze for SlackConversation
impl RefUnwindSafe for SlackConversation
impl Send for SlackConversation
impl Sync for SlackConversation
impl Unpin for SlackConversation
impl UnsafeUnpin for SlackConversation
impl UnwindSafe for SlackConversation
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