pub struct UpdateNewMessage {
pub message: Message,
}
Expand description
A new message was received; can also be an outgoing message
Fields§
§message: Message
The new message
Trait Implementations§
Source§impl Clone for UpdateNewMessage
impl Clone for UpdateNewMessage
Source§fn clone(&self) -> UpdateNewMessage
fn clone(&self) -> UpdateNewMessage
Returns a copy 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 UpdateNewMessage
impl Debug for UpdateNewMessage
Source§impl<'de> Deserialize<'de> for UpdateNewMessage
impl<'de> Deserialize<'de> for UpdateNewMessage
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 PartialEq for UpdateNewMessage
impl PartialEq for UpdateNewMessage
Source§impl Serialize for UpdateNewMessage
impl Serialize for UpdateNewMessage
impl StructuralPartialEq for UpdateNewMessage
Auto Trait Implementations§
impl Freeze for UpdateNewMessage
impl RefUnwindSafe for UpdateNewMessage
impl Send for UpdateNewMessage
impl Sync for UpdateNewMessage
impl Unpin for UpdateNewMessage
impl UnwindSafe for UpdateNewMessage
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