pub struct UpdateNewMessage { /* private fields */ }
Expand description
A new message was received; can also be an outgoing message
Implementations§
Trait Implementations§
Source§impl AsRef<UpdateNewMessage> for UpdateNewMessage
impl AsRef<UpdateNewMessage> for UpdateNewMessage
Source§fn as_ref(&self) -> &UpdateNewMessage
fn as_ref(&self) -> &UpdateNewMessage
Converts this type into a shared reference of the (usually inferred) input type.
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 Default for UpdateNewMessage
impl Default for UpdateNewMessage
Source§fn default() -> UpdateNewMessage
fn default() -> UpdateNewMessage
Returns the “default value” for a type. Read more
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 Serialize for UpdateNewMessage
impl Serialize for UpdateNewMessage
impl TDUpdate 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