pub struct ChannelDifferenceTooLong {
pub final: bool,
pub timeout: Option<i32>,
pub dialog: Dialog,
pub messages: Vec<Message>,
pub chats: Vec<Chat>,
pub users: Vec<User>,
}Expand description
updates.channelDifferenceTooLong
Generated from:
updates.channelDifferenceTooLong#a4bcc6fe flags:# final:flags.0?true timeout:flags.1?int dialog:Dialog messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifferenceFields§
§final: bool§timeout: Option<i32>§dialog: Dialog§messages: Vec<Message>§chats: Vec<Chat>§users: Vec<User>Trait Implementations§
Source§impl Clone for ChannelDifferenceTooLong
impl Clone for ChannelDifferenceTooLong
Source§fn clone(&self) -> ChannelDifferenceTooLong
fn clone(&self) -> ChannelDifferenceTooLong
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 ChannelDifferenceTooLong
impl Debug for ChannelDifferenceTooLong
Source§impl Deserializable for ChannelDifferenceTooLong
impl Deserializable for ChannelDifferenceTooLong
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<ChannelDifferenceTooLong> for ChannelDifference
impl From<ChannelDifferenceTooLong> for ChannelDifference
Source§fn from(x: ChannelDifferenceTooLong) -> Self
fn from(x: ChannelDifferenceTooLong) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelDifferenceTooLong
impl Identifiable for ChannelDifferenceTooLong
Source§const CONSTRUCTOR_ID: u32 = 0xa4bcc6fe
const CONSTRUCTOR_ID: u32 = 0xa4bcc6fe
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelDifferenceTooLong
impl PartialEq for ChannelDifferenceTooLong
Source§impl TryFrom<ChannelDifference> for ChannelDifferenceTooLong
impl TryFrom<ChannelDifference> for ChannelDifferenceTooLong
Source§type Error = ChannelDifference
type Error = ChannelDifference
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelDifferenceTooLong
Auto Trait Implementations§
impl Freeze for ChannelDifferenceTooLong
impl RefUnwindSafe for ChannelDifferenceTooLong
impl Send for ChannelDifferenceTooLong
impl Sync for ChannelDifferenceTooLong
impl Unpin for ChannelDifferenceTooLong
impl UnsafeUnpin for ChannelDifferenceTooLong
impl UnwindSafe for ChannelDifferenceTooLong
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