pub struct DirectMessagesTopic {
pub topic_id: i64,
pub user: Option<User>,
}Expand description
A topic in a channel’s direct messages chat.
Fields§
§topic_id: i64Unique identifier of the topic.
user: Option<User>The user that created the topic; currently always present.
Trait Implementations§
Source§impl Clone for DirectMessagesTopic
impl Clone for DirectMessagesTopic
Source§fn clone(&self) -> DirectMessagesTopic
fn clone(&self) -> DirectMessagesTopic
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 DirectMessagesTopic
impl Debug for DirectMessagesTopic
Source§impl<'de> Deserialize<'de> for DirectMessagesTopic
impl<'de> Deserialize<'de> for DirectMessagesTopic
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 DirectMessagesTopic
impl RefUnwindSafe for DirectMessagesTopic
impl Send for DirectMessagesTopic
impl Sync for DirectMessagesTopic
impl Unpin for DirectMessagesTopic
impl UnsafeUnpin for DirectMessagesTopic
impl UnwindSafe for DirectMessagesTopic
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