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
sourceimpl AsRef<GetRemoteFile> for GetRemoteFile
impl AsRef<GetRemoteFile> for GetRemoteFile
sourcefn as_ref(&self) -> &GetRemoteFile
fn as_ref(&self) -> &GetRemoteFile
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GetRemoteFile
impl Clone for GetRemoteFile
sourcefn clone(&self) -> GetRemoteFile
fn clone(&self) -> GetRemoteFile
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 GetRemoteFile
impl Debug for GetRemoteFile
sourceimpl Default for GetRemoteFile
impl Default for GetRemoteFile
sourcefn default() -> GetRemoteFile
fn default() -> GetRemoteFile
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetRemoteFile
impl<'de> Deserialize<'de> for GetRemoteFile
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 GetRemoteFile
impl Serialize for GetRemoteFile
Auto Trait Implementations
impl RefUnwindSafe for GetRemoteFile
impl Send for GetRemoteFile
impl Sync for GetRemoteFile
impl Unpin for GetRemoteFile
impl UnwindSafe for GetRemoteFile
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