pub struct DownloadFile {
    pub file_id: i32,
    pub priority: i32,
}Expand description
Asynchronously downloads a file from the cloud. updateFile will be used to notify about the download progress and successful completion of the download. Returns file state just after the download has been started
Fields§
§file_id: i32Identifier of the file to download
priority: i32Priority of the download (1-32). The higher the priority, the earlier the file will be downloaded. If the priorities of two files are equal, then the last one for which downloadFile was called will be downloaded first
Trait Implementations§
Source§impl Clone for DownloadFile
 
impl Clone for DownloadFile
Source§fn clone(&self) -> DownloadFile
 
fn clone(&self) -> DownloadFile
Returns a duplicate 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 DownloadFile
 
impl Debug for DownloadFile
Source§impl<'de> Deserialize<'de> for DownloadFile
 
impl<'de> Deserialize<'de> for DownloadFile
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
Source§impl Method for DownloadFile
 
impl Method for DownloadFile
Auto Trait Implementations§
impl Freeze for DownloadFile
impl RefUnwindSafe for DownloadFile
impl Send for DownloadFile
impl Sync for DownloadFile
impl Unpin for DownloadFile
impl UnwindSafe for DownloadFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more