pub struct MessageEmpty {
pub id: i32,
pub peer_id: Option<Peer>,
}Expand description
Generated from the following TL definition:
messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = MessageFields§
§id: i32§peer_id: Option<Peer>Trait Implementations§
Source§impl Clone for MessageEmpty
impl Clone for MessageEmpty
Source§fn clone(&self) -> MessageEmpty
fn clone(&self) -> MessageEmpty
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 MessageEmpty
impl Debug for MessageEmpty
Source§impl Deserializable for MessageEmpty
impl Deserializable for MessageEmpty
Source§impl From<MessageEmpty> for Message
impl From<MessageEmpty> for Message
Source§fn from(x: MessageEmpty) -> Self
fn from(x: MessageEmpty) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageEmpty
impl Identifiable for MessageEmpty
Source§const CONSTRUCTOR_ID: u32 = 2426849924
const CONSTRUCTOR_ID: u32 = 2426849924
The unique identifier for the type.
Source§impl PartialEq for MessageEmpty
impl PartialEq for MessageEmpty
Source§impl Serializable for MessageEmpty
impl Serializable for MessageEmpty
Source§impl TryFrom<Message> for MessageEmpty
impl TryFrom<Message> for MessageEmpty
impl StructuralPartialEq for MessageEmpty
Auto Trait Implementations§
impl Freeze for MessageEmpty
impl RefUnwindSafe for MessageEmpty
impl Send for MessageEmpty
impl Sync for MessageEmpty
impl Unpin for MessageEmpty
impl UnsafeUnpin for MessageEmpty
impl UnwindSafe for MessageEmpty
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