pub struct UpdateEncryption {
pub chat: EncryptedChat,
pub date: i32,
}Expand description
Fields§
§chat: EncryptedChat§date: i32Trait Implementations§
Source§impl Clone for UpdateEncryption
impl Clone for UpdateEncryption
Source§fn clone(&self) -> UpdateEncryption
fn clone(&self) -> UpdateEncryption
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 UpdateEncryption
impl Debug for UpdateEncryption
Source§impl Deserializable for UpdateEncryption
impl Deserializable for UpdateEncryption
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<UpdateEncryption> for Update
impl From<UpdateEncryption> for Update
Source§fn from(x: UpdateEncryption) -> Self
fn from(x: UpdateEncryption) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateEncryption
impl Identifiable for UpdateEncryption
Source§const CONSTRUCTOR_ID: u32 = 0xb4a2e88d
const CONSTRUCTOR_ID: u32 = 0xb4a2e88d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateEncryption
impl PartialEq for UpdateEncryption
Source§impl Serializable for UpdateEncryption
impl Serializable for UpdateEncryption
Source§impl TryFrom<Update> for UpdateEncryption
impl TryFrom<Update> for UpdateEncryption
impl StructuralPartialEq for UpdateEncryption
Auto Trait Implementations§
impl Freeze for UpdateEncryption
impl RefUnwindSafe for UpdateEncryption
impl Send for UpdateEncryption
impl Sync for UpdateEncryption
impl Unpin for UpdateEncryption
impl UnsafeUnpin for UpdateEncryption
impl UnwindSafe for UpdateEncryption
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