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