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