pub struct SentEncryptedFile {
pub date: i32,
pub file: EncryptedFile,
}Expand description
Generated from:
messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessageFields§
§date: i32§file: EncryptedFileTrait Implementations§
Source§impl Clone for SentEncryptedFile
impl Clone for SentEncryptedFile
Source§fn clone(&self) -> SentEncryptedFile
fn clone(&self) -> SentEncryptedFile
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 SentEncryptedFile
impl Debug for SentEncryptedFile
Source§impl Deserializable for SentEncryptedFile
impl Deserializable for SentEncryptedFile
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<SentEncryptedFile> for SentEncryptedMessage
impl From<SentEncryptedFile> for SentEncryptedMessage
Source§fn from(x: SentEncryptedFile) -> Self
fn from(x: SentEncryptedFile) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SentEncryptedFile
impl Identifiable for SentEncryptedFile
Source§const CONSTRUCTOR_ID: u32 = 0x9493ff32
const CONSTRUCTOR_ID: u32 = 0x9493ff32
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SentEncryptedFile
impl PartialEq for SentEncryptedFile
Source§impl Serializable for SentEncryptedFile
impl Serializable for SentEncryptedFile
Source§impl TryFrom<SentEncryptedMessage> for SentEncryptedFile
impl TryFrom<SentEncryptedMessage> for SentEncryptedFile
Source§type Error = SentEncryptedMessage
type Error = SentEncryptedMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for SentEncryptedFile
Auto Trait Implementations§
impl Freeze for SentEncryptedFile
impl RefUnwindSafe for SentEncryptedFile
impl Send for SentEncryptedFile
impl Sync for SentEncryptedFile
impl Unpin for SentEncryptedFile
impl UnsafeUnpin for SentEncryptedFile
impl UnwindSafe for SentEncryptedFile
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