pub struct UpdateNewMessage {
pub message: Message,
pub pts: i32,
pub pts_count: i32,
}Expand description
Generated from:
updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = UpdateFields§
§message: Message§pts: i32§pts_count: i32Trait Implementations§
Source§impl Clone for UpdateNewMessage
impl Clone for UpdateNewMessage
Source§fn clone(&self) -> UpdateNewMessage
fn clone(&self) -> UpdateNewMessage
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 UpdateNewMessage
impl Debug for UpdateNewMessage
Source§impl Deserializable for UpdateNewMessage
impl Deserializable for UpdateNewMessage
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<UpdateNewMessage> for Update
impl From<UpdateNewMessage> for Update
Source§fn from(x: UpdateNewMessage) -> Self
fn from(x: UpdateNewMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateNewMessage
impl Identifiable for UpdateNewMessage
Source§const CONSTRUCTOR_ID: u32 = 0x1f2b0afd
const CONSTRUCTOR_ID: u32 = 0x1f2b0afd
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateNewMessage
impl PartialEq for UpdateNewMessage
Source§impl Serializable for UpdateNewMessage
impl Serializable for UpdateNewMessage
Source§impl TryFrom<Update> for UpdateNewMessage
impl TryFrom<Update> 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 UnsafeUnpin 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