pub enum GetMessageType {
Private {
sender: PrivateSenderInfo,
},
Group {
sender: GroupSenderInfo,
},
}Variants§
Trait Implementations§
Source§impl Clone for GetMessageType
impl Clone for GetMessageType
Source§fn clone(&self) -> GetMessageType
fn clone(&self) -> GetMessageType
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 GetMessageType
impl Debug for GetMessageType
Source§impl<'de> Deserialize<'de> for GetMessageType
impl<'de> Deserialize<'de> for GetMessageType
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 GetMessageType
impl RefUnwindSafe for GetMessageType
impl Send for GetMessageType
impl Sync for GetMessageType
impl Unpin for GetMessageType
impl UnwindSafe for GetMessageType
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