Struct rust_tdlib::types::InputFileRemote
source · pub struct InputFileRemote { /* private fields */ }
Expand description
A file defined by its remote ID. The remote ID is guaranteed to be usable only if the corresponding file is still accessible to the user and known to TDLib. 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<InputFileRemote> for InputFileRemote
impl AsRef<InputFileRemote> for InputFileRemote
source§fn as_ref(&self) -> &InputFileRemote
fn as_ref(&self) -> &InputFileRemote
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InputFileRemote
impl Clone for InputFileRemote
source§fn clone(&self) -> InputFileRemote
fn clone(&self) -> InputFileRemote
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 InputFileRemote
impl Debug for InputFileRemote
source§impl Default for InputFileRemote
impl Default for InputFileRemote
source§fn default() -> InputFileRemote
fn default() -> InputFileRemote
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputFileRemote
impl<'de> Deserialize<'de> for InputFileRemote
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