pub struct GetRichMessage {
pub peer: InputPeer,
pub id: i32,
}Expand description
Generated from:
messages.getRichMessage#501569cf peer:InputPeer id:int = messages.MessagesFields§
§peer: InputPeer§id: i32Trait Implementations§
Source§impl Clone for GetRichMessage
impl Clone for GetRichMessage
Source§fn clone(&self) -> GetRichMessage
fn clone(&self) -> GetRichMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetRichMessage
impl Debug for GetRichMessage
Source§impl Deserializable for GetRichMessage
impl Deserializable for GetRichMessage
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for GetRichMessage
impl Identifiable for GetRichMessage
Source§const CONSTRUCTOR_ID: u32 = 0x501569cf
const CONSTRUCTOR_ID: u32 = 0x501569cf
The constructor ID as specified in the TL schema.
Source§impl PartialEq for GetRichMessage
impl PartialEq for GetRichMessage
Source§fn eq(&self, other: &GetRichMessage) -> bool
fn eq(&self, other: &GetRichMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RemoteCall for GetRichMessage
impl RemoteCall for GetRichMessage
Source§impl Serializable for GetRichMessage
impl Serializable for GetRichMessage
impl StructuralPartialEq for GetRichMessage
Auto Trait Implementations§
impl Freeze for GetRichMessage
impl RefUnwindSafe for GetRichMessage
impl Send for GetRichMessage
impl Sync for GetRichMessage
impl Unpin for GetRichMessage
impl UnsafeUnpin for GetRichMessage
impl UnwindSafe for GetRichMessage
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