pub struct SavedMessagesChannel {
pub id: ChannelId,
pub user: UserId,
pub nonce: Option<String>,
}Expand description
Saved Messages channel has only one participant, the user who created it.
Fields§
§id: ChannelId§user: UserId§nonce: Option<String>Trait Implementations§
Source§impl Clone for SavedMessagesChannel
impl Clone for SavedMessagesChannel
Source§fn clone(&self) -> SavedMessagesChannel
fn clone(&self) -> SavedMessagesChannel
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 SavedMessagesChannel
impl Debug for SavedMessagesChannel
Source§impl<'de> Deserialize<'de> for SavedMessagesChannel
impl<'de> Deserialize<'de> for SavedMessagesChannel
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 SavedMessagesChannel
impl Hash for SavedMessagesChannel
Source§impl Ord for SavedMessagesChannel
impl Ord for SavedMessagesChannel
Source§fn cmp(&self, other: &SavedMessagesChannel) -> Ordering
fn cmp(&self, other: &SavedMessagesChannel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SavedMessagesChannel
impl PartialEq for SavedMessagesChannel
Source§impl PartialOrd for SavedMessagesChannel
impl PartialOrd for SavedMessagesChannel
Source§impl Serialize for SavedMessagesChannel
impl Serialize for SavedMessagesChannel
impl Eq for SavedMessagesChannel
impl StructuralPartialEq for SavedMessagesChannel
Auto Trait Implementations§
impl Freeze for SavedMessagesChannel
impl RefUnwindSafe for SavedMessagesChannel
impl Send for SavedMessagesChannel
impl Sync for SavedMessagesChannel
impl Unpin for SavedMessagesChannel
impl UnwindSafe for SavedMessagesChannel
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