pub struct GetRemoteFile {
pub remote_file_id: String,
pub file_type: FileType,
}
Expand description
Returns information about a file by its remote ID; this is an offline request. Can be used to register a URL as a file for further uploading, or sending as a message
Fields§
§remote_file_id: String
Remote identifier of the file to get
file_type: FileType
File type, if known
Trait Implementations§
Source§impl Clone for GetRemoteFile
impl Clone for GetRemoteFile
Source§fn clone(&self) -> GetRemoteFile
fn clone(&self) -> GetRemoteFile
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 GetRemoteFile
impl Debug for GetRemoteFile
Source§impl<'de> Deserialize<'de> for GetRemoteFile
impl<'de> Deserialize<'de> for GetRemoteFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for GetRemoteFile
impl Method for GetRemoteFile
Auto Trait Implementations§
impl Freeze for GetRemoteFile
impl RefUnwindSafe for GetRemoteFile
impl Send for GetRemoteFile
impl Sync for GetRemoteFile
impl Unpin for GetRemoteFile
impl UnwindSafe for GetRemoteFile
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