pub struct SendEncryptedFile {
pub silent: bool,
pub peer: InputEncryptedChat,
pub random_id: i64,
pub data: Vec<u8>,
pub file: InputEncryptedFile,
}Expand description
Generated from:
messages.sendEncryptedFile#5559481d flags:# silent:flags.0?true peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessageFields§
§silent: bool§peer: InputEncryptedChat§random_id: i64§data: Vec<u8>§file: InputEncryptedFileTrait Implementations§
Source§impl Clone for SendEncryptedFile
impl Clone for SendEncryptedFile
Source§fn clone(&self) -> SendEncryptedFile
fn clone(&self) -> SendEncryptedFile
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 SendEncryptedFile
impl Debug for SendEncryptedFile
Source§impl Identifiable for SendEncryptedFile
impl Identifiable for SendEncryptedFile
Source§const CONSTRUCTOR_ID: u32 = 0x5559481d
const CONSTRUCTOR_ID: u32 = 0x5559481d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SendEncryptedFile
impl PartialEq for SendEncryptedFile
Source§impl RemoteCall for SendEncryptedFile
impl RemoteCall for SendEncryptedFile
Source§type Return = SentEncryptedMessage
type Return = SentEncryptedMessage
The deserialized response type.
Source§impl Serializable for SendEncryptedFile
impl Serializable for SendEncryptedFile
impl StructuralPartialEq for SendEncryptedFile
Auto Trait Implementations§
impl Freeze for SendEncryptedFile
impl RefUnwindSafe for SendEncryptedFile
impl Send for SendEncryptedFile
impl Sync for SendEncryptedFile
impl Unpin for SendEncryptedFile
impl UnsafeUnpin for SendEncryptedFile
impl UnwindSafe for SendEncryptedFile
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