pub struct UpdateReadMessagesContents {
pub messages: Vec<i32>,
pub pts: i32,
pub pts_count: i32,
pub date: Option<i32>,
}Expand description
Generated from:
updateReadMessagesContents#f8227181 flags:# messages:Vector<int> pts:int pts_count:int date:flags.0?int = UpdateFields§
§messages: Vec<i32>§pts: i32§pts_count: i32§date: Option<i32>Trait Implementations§
Source§impl Clone for UpdateReadMessagesContents
impl Clone for UpdateReadMessagesContents
Source§fn clone(&self) -> UpdateReadMessagesContents
fn clone(&self) -> UpdateReadMessagesContents
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 UpdateReadMessagesContents
impl Debug for UpdateReadMessagesContents
Source§impl Deserializable for UpdateReadMessagesContents
impl Deserializable for UpdateReadMessagesContents
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<UpdateReadMessagesContents> for Update
impl From<UpdateReadMessagesContents> for Update
Source§fn from(x: UpdateReadMessagesContents) -> Self
fn from(x: UpdateReadMessagesContents) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateReadMessagesContents
impl Identifiable for UpdateReadMessagesContents
Source§const CONSTRUCTOR_ID: u32 = 0xf8227181
const CONSTRUCTOR_ID: u32 = 0xf8227181
The constructor ID as specified in the TL schema.
Source§impl TryFrom<Update> for UpdateReadMessagesContents
impl TryFrom<Update> for UpdateReadMessagesContents
impl StructuralPartialEq for UpdateReadMessagesContents
Auto Trait Implementations§
impl Freeze for UpdateReadMessagesContents
impl RefUnwindSafe for UpdateReadMessagesContents
impl Send for UpdateReadMessagesContents
impl Sync for UpdateReadMessagesContents
impl Unpin for UpdateReadMessagesContents
impl UnsafeUnpin for UpdateReadMessagesContents
impl UnwindSafe for UpdateReadMessagesContents
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