Struct rust_tdlib::types::DownloadFile
source · [−]pub struct DownloadFile { /* private fields */ }Expand description
Downloads a file from the cloud. Download progress and completion of the download will be notified through updateFile updates
Implementations
sourceimpl DownloadFile
impl DownloadFile
Trait Implementations
sourceimpl AsRef<DownloadFile> for DownloadFile
impl AsRef<DownloadFile> for DownloadFile
sourcefn as_ref(&self) -> &DownloadFile
fn as_ref(&self) -> &DownloadFile
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for DownloadFile
impl Clone for DownloadFile
sourcefn clone(&self) -> DownloadFile
fn clone(&self) -> DownloadFile
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 DownloadFile
impl Debug for DownloadFile
sourceimpl Default for DownloadFile
impl Default for DownloadFile
sourcefn default() -> DownloadFile
fn default() -> DownloadFile
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DownloadFile
impl<'de> Deserialize<'de> for DownloadFile
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 DownloadFile
impl Serialize for DownloadFile
Auto Trait Implementations
impl RefUnwindSafe for DownloadFile
impl Send for DownloadFile
impl Sync for DownloadFile
impl Unpin for DownloadFile
impl UnwindSafe for DownloadFile
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