pub struct UpdateChannelReadMessagesContents {
pub channel_id: i64,
pub top_msg_id: Option<i32>,
pub saved_peer_id: Option<Peer>,
pub messages: Vec<i32>,
}Expand description
updateChannelReadMessagesContents
Generated from:
updateChannelReadMessagesContents#25f324f7 flags:# channel_id:long top_msg_id:flags.0?int saved_peer_id:flags.1?Peer messages:Vector<int> = UpdateFields§
§channel_id: i64§top_msg_id: Option<i32>§saved_peer_id: Option<Peer>§messages: Vec<i32>Trait Implementations§
Source§impl Clone for UpdateChannelReadMessagesContents
impl Clone for UpdateChannelReadMessagesContents
Source§fn clone(&self) -> UpdateChannelReadMessagesContents
fn clone(&self) -> UpdateChannelReadMessagesContents
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 Deserializable for UpdateChannelReadMessagesContents
impl Deserializable for UpdateChannelReadMessagesContents
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<UpdateChannelReadMessagesContents> for Update
impl From<UpdateChannelReadMessagesContents> for Update
Source§fn from(x: UpdateChannelReadMessagesContents) -> Self
fn from(x: UpdateChannelReadMessagesContents) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChannelReadMessagesContents
impl Identifiable for UpdateChannelReadMessagesContents
Source§const CONSTRUCTOR_ID: u32 = 0x25f324f7
const CONSTRUCTOR_ID: u32 = 0x25f324f7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateChannelReadMessagesContents
impl PartialEq for UpdateChannelReadMessagesContents
Source§fn eq(&self, other: &UpdateChannelReadMessagesContents) -> bool
fn eq(&self, other: &UpdateChannelReadMessagesContents) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateChannelReadMessagesContents
Auto Trait Implementations§
impl Freeze for UpdateChannelReadMessagesContents
impl RefUnwindSafe for UpdateChannelReadMessagesContents
impl Send for UpdateChannelReadMessagesContents
impl Sync for UpdateChannelReadMessagesContents
impl Unpin for UpdateChannelReadMessagesContents
impl UnsafeUnpin for UpdateChannelReadMessagesContents
impl UnwindSafe for UpdateChannelReadMessagesContents
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