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