pub struct Difference {
pub new_messages: Vec<Message>,
pub new_encrypted_messages: Vec<EncryptedMessage>,
pub other_updates: Vec<Update>,
pub chats: Vec<Chat>,
pub users: Vec<User>,
pub state: State,
}Expand description
Generated from:
updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.DifferenceFields§
§new_messages: Vec<Message>§new_encrypted_messages: Vec<EncryptedMessage>§other_updates: Vec<Update>§chats: Vec<Chat>§users: Vec<User>§state: StateTrait Implementations§
Source§impl Clone for Difference
impl Clone for Difference
Source§fn clone(&self) -> Difference
fn clone(&self) -> Difference
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 Difference
impl Debug for Difference
Source§impl Deserializable for Difference
impl Deserializable for Difference
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<Difference> for Difference
impl From<Difference> for Difference
Source§fn from(x: Difference) -> Self
fn from(x: Difference) -> Self
Converts to this type from the input type.
Source§impl Identifiable for Difference
impl Identifiable for Difference
Source§const CONSTRUCTOR_ID: u32 = 0x00f49ca0
const CONSTRUCTOR_ID: u32 = 0x00f49ca0
The constructor ID as specified in the TL schema.
Source§impl PartialEq for Difference
impl PartialEq for Difference
Source§impl Serializable for Difference
impl Serializable for Difference
Source§impl TryFrom<Difference> for Difference
impl TryFrom<Difference> for Difference
Source§type Error = Difference
type Error = Difference
The type returned in the event of a conversion error.
impl StructuralPartialEq for Difference
Auto Trait Implementations§
impl Freeze for Difference
impl RefUnwindSafe for Difference
impl Send for Difference
impl Sync for Difference
impl Unpin for Difference
impl UnsafeUnpin for Difference
impl UnwindSafe for Difference
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