pub struct EncryptedMessage {
pub random_id: i64,
pub chat_id: i32,
pub date: i32,
pub bytes: Vec<u8>,
pub file: EncryptedFile,
}Expand description
Generated from the following TL definition:
encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessageFields§
§random_id: i64§chat_id: i32§date: i32§bytes: Vec<u8>§file: EncryptedFileTrait Implementations§
Source§impl Clone for EncryptedMessage
impl Clone for EncryptedMessage
Source§fn clone(&self) -> EncryptedMessage
fn clone(&self) -> EncryptedMessage
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 EncryptedMessage
impl Debug for EncryptedMessage
Source§impl Deserializable for EncryptedMessage
impl Deserializable for EncryptedMessage
Source§impl From<EncryptedMessage> for EncryptedMessage
impl From<EncryptedMessage> for EncryptedMessage
Source§fn from(x: EncryptedMessage) -> Self
fn from(x: EncryptedMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EncryptedMessage
impl Identifiable for EncryptedMessage
Source§const CONSTRUCTOR_ID: u32 = 3977822488
const CONSTRUCTOR_ID: u32 = 3977822488
The unique identifier for the type.
Source§impl PartialEq for EncryptedMessage
impl PartialEq for EncryptedMessage
Source§impl Serializable for EncryptedMessage
impl Serializable for EncryptedMessage
Source§impl TryFrom<EncryptedMessage> for EncryptedMessage
impl TryFrom<EncryptedMessage> for EncryptedMessage
impl StructuralPartialEq for EncryptedMessage
Auto Trait Implementations§
impl Freeze for EncryptedMessage
impl RefUnwindSafe for EncryptedMessage
impl Send for EncryptedMessage
impl Sync for EncryptedMessage
impl Unpin for EncryptedMessage
impl UnsafeUnpin for EncryptedMessage
impl UnwindSafe for EncryptedMessage
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