Struct rust_tdlib::types::GetRemoteFile
source · pub struct GetRemoteFile { /* private fields */ }
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. Even the request succeeds, the file can be used only if it is still accessible to the user. For example, if the file is from a message, then the message must be not deleted and accessible to the user. If the file database is disabled, then the corresponding object with the file must be preloaded by the application
Implementations§
Trait Implementations§
source§impl AsRef<GetRemoteFile> for GetRemoteFile
impl AsRef<GetRemoteFile> for GetRemoteFile
source§fn as_ref(&self) -> &GetRemoteFile
fn as_ref(&self) -> &GetRemoteFile
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for GetRemoteFile
impl Clone for GetRemoteFile
source§fn clone(&self) -> GetRemoteFile
fn clone(&self) -> GetRemoteFile
Returns a copy 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 Default for GetRemoteFile
impl Default for GetRemoteFile
source§fn default() -> GetRemoteFile
fn default() -> GetRemoteFile
Returns the “default value” for a type. Read more
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