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
sourceimpl AsRef<InputFileRemote> for InputFileRemote
 
impl AsRef<InputFileRemote> for InputFileRemote
sourcefn as_ref(&self) -> &InputFileRemote
 
fn as_ref(&self) -> &InputFileRemote
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InputFileRemote
 
impl Clone for InputFileRemote
sourcefn clone(&self) -> InputFileRemote
 
fn clone(&self) -> InputFileRemote
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InputFileRemote
 
impl Debug for InputFileRemote
sourceimpl Default for InputFileRemote
 
impl Default for InputFileRemote
sourcefn default() -> InputFileRemote
 
fn default() -> InputFileRemote
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InputFileRemote
 
impl<'de> Deserialize<'de> for InputFileRemote
sourcefn 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
sourceimpl Serialize for InputFileRemote
 
impl Serialize for InputFileRemote
impl TDInputFile for InputFileRemote
Auto Trait Implementations
impl RefUnwindSafe for InputFileRemote
impl Send for InputFileRemote
impl Sync for InputFileRemote
impl Unpin for InputFileRemote
impl UnwindSafe for InputFileRemote
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more