Struct rust_tdlib::types::CancelDownloadFile
source · pub struct CancelDownloadFile { /* private fields */ }
Expand description
Stops the downloading of a file. If a file has already been downloaded, does nothing
Implementations§
Trait Implementations§
source§impl AsRef<CancelDownloadFile> for CancelDownloadFile
impl AsRef<CancelDownloadFile> for CancelDownloadFile
source§fn as_ref(&self) -> &CancelDownloadFile
fn as_ref(&self) -> &CancelDownloadFile
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for CancelDownloadFile
impl Clone for CancelDownloadFile
source§fn clone(&self) -> CancelDownloadFile
fn clone(&self) -> CancelDownloadFile
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 CancelDownloadFile
impl Debug for CancelDownloadFile
source§impl Default for CancelDownloadFile
impl Default for CancelDownloadFile
source§fn default() -> CancelDownloadFile
fn default() -> CancelDownloadFile
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CancelDownloadFile
impl<'de> Deserialize<'de> for CancelDownloadFile
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