Struct rust_tdlib::types::InputFileRemote [−][src]
pub struct InputFileRemote { /* fields omitted */ }
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
impl InputFileRemote
[src]
impl InputFileRemote
[src]Trait Implementations
impl AsRef<InputFileRemote> for InputFileRemote
[src]
impl AsRef<InputFileRemote> for InputFileRemote
[src]fn as_ref(&self) -> &InputFileRemote
[src]
fn as_ref(&self) -> &InputFileRemote
[src]Performs the conversion.
impl Clone for InputFileRemote
[src]
impl Clone for InputFileRemote
[src]fn clone(&self) -> InputFileRemote
[src]
fn clone(&self) -> InputFileRemote
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for InputFileRemote
[src]
impl Debug for InputFileRemote
[src]impl Default for InputFileRemote
[src]
impl Default for InputFileRemote
[src]fn default() -> InputFileRemote
[src]
fn default() -> InputFileRemote
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for InputFileRemote
[src]
impl<'de> Deserialize<'de> for InputFileRemote
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for InputFileRemote
[src]
impl Serialize for InputFileRemote
[src]impl TDInputFile for InputFileRemote
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,