pub struct UpdateReadHistoryInbox {
pub folder_id: Option<i32>,
pub peer: Peer,
pub top_msg_id: Option<i32>,
pub max_id: i32,
pub still_unread_count: i32,
pub pts: i32,
pub pts_count: i32,
}Expand description
Generated from:
updateReadHistoryInbox#9e84bc99 flags:# folder_id:flags.0?int peer:Peer top_msg_id:flags.1?int max_id:int still_unread_count:int pts:int pts_count:int = UpdateFields§
§folder_id: Option<i32>§peer: Peer§top_msg_id: Option<i32>§max_id: i32§still_unread_count: i32§pts: i32§pts_count: i32Trait Implementations§
Source§impl Clone for UpdateReadHistoryInbox
impl Clone for UpdateReadHistoryInbox
Source§fn clone(&self) -> UpdateReadHistoryInbox
fn clone(&self) -> UpdateReadHistoryInbox
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 UpdateReadHistoryInbox
impl Debug for UpdateReadHistoryInbox
Source§impl Deserializable for UpdateReadHistoryInbox
impl Deserializable for UpdateReadHistoryInbox
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<UpdateReadHistoryInbox> for Update
impl From<UpdateReadHistoryInbox> for Update
Source§fn from(x: UpdateReadHistoryInbox) -> Self
fn from(x: UpdateReadHistoryInbox) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateReadHistoryInbox
impl Identifiable for UpdateReadHistoryInbox
Source§const CONSTRUCTOR_ID: u32 = 0x9e84bc99
const CONSTRUCTOR_ID: u32 = 0x9e84bc99
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateReadHistoryInbox
impl PartialEq for UpdateReadHistoryInbox
Source§impl TryFrom<Update> for UpdateReadHistoryInbox
impl TryFrom<Update> for UpdateReadHistoryInbox
impl StructuralPartialEq for UpdateReadHistoryInbox
Auto Trait Implementations§
impl Freeze for UpdateReadHistoryInbox
impl RefUnwindSafe for UpdateReadHistoryInbox
impl Send for UpdateReadHistoryInbox
impl Sync for UpdateReadHistoryInbox
impl Unpin for UpdateReadHistoryInbox
impl UnsafeUnpin for UpdateReadHistoryInbox
impl UnwindSafe for UpdateReadHistoryInbox
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