pub struct ReceiveFile {
pub file_id: i64,
pub user_approved_relays: bool,
pub store_encrypted: Option<bool>,
pub file_inline: Option<bool>,
pub file_path: Option<String>,
}Expand description
§File commands
Commands to receive and to cancel files. Files are sent as part of the message, there are no separate commands to send files.
Receive file.
Network usage: no.
Syntax:
/freceive <fileId>[ approved_relays=on][ encrypt=on|off][ inline=on|off][ <filePath>]Fields§
§file_id: i64§user_approved_relays: bool§store_encrypted: Option<bool>§file_inline: Option<bool>§file_path: Option<String>Trait Implementations§
Source§impl Clone for ReceiveFile
impl Clone for ReceiveFile
Source§fn clone(&self) -> ReceiveFile
fn clone(&self) -> ReceiveFile
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 CommandSyntax for ReceiveFile
impl CommandSyntax for ReceiveFile
Source§impl Debug for ReceiveFile
impl Debug for ReceiveFile
Source§impl PartialEq for ReceiveFile
impl PartialEq for ReceiveFile
impl StructuralPartialEq for ReceiveFile
Auto Trait Implementations§
impl Freeze for ReceiveFile
impl RefUnwindSafe for ReceiveFile
impl Send for ReceiveFile
impl Sync for ReceiveFile
impl Unpin for ReceiveFile
impl UnwindSafe for ReceiveFile
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