pub struct UpdateMessageId {
pub id: i32,
pub random_id: i64,
}Expand description
Fields§
§id: i32§random_id: i64Trait Implementations§
Source§impl Clone for UpdateMessageId
impl Clone for UpdateMessageId
Source§fn clone(&self) -> UpdateMessageId
fn clone(&self) -> UpdateMessageId
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 UpdateMessageId
impl Debug for UpdateMessageId
Source§impl Deserializable for UpdateMessageId
impl Deserializable for UpdateMessageId
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 From<UpdateMessageId> for Update
impl From<UpdateMessageId> for Update
Source§fn from(x: UpdateMessageId) -> Self
fn from(x: UpdateMessageId) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateMessageId
impl Identifiable for UpdateMessageId
Source§const CONSTRUCTOR_ID: u32 = 0x4e90bfd6
const CONSTRUCTOR_ID: u32 = 0x4e90bfd6
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateMessageId
impl PartialEq for UpdateMessageId
Source§impl Serializable for UpdateMessageId
impl Serializable for UpdateMessageId
Source§impl TryFrom<Update> for UpdateMessageId
impl TryFrom<Update> for UpdateMessageId
impl StructuralPartialEq for UpdateMessageId
Auto Trait Implementations§
impl Freeze for UpdateMessageId
impl RefUnwindSafe for UpdateMessageId
impl Send for UpdateMessageId
impl Sync for UpdateMessageId
impl Unpin for UpdateMessageId
impl UnsafeUnpin for UpdateMessageId
impl UnwindSafe for UpdateMessageId
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