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