pub struct DownloadedFile {
pub path: PathBuf,
pub media_type: MediaType,
pub size_bytes: u64,
}Fields§
§path: PathBuf§media_type: MediaType§size_bytes: u64Trait Implementations§
Source§impl Clone for DownloadedFile
impl Clone for DownloadedFile
Source§fn clone(&self) -> DownloadedFile
fn clone(&self) -> DownloadedFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DownloadedFile
impl Debug for DownloadedFile
Source§impl<'de> Deserialize<'de> for DownloadedFile
impl<'de> Deserialize<'de> for DownloadedFile
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
Auto Trait Implementations§
impl Freeze for DownloadedFile
impl RefUnwindSafe for DownloadedFile
impl Send for DownloadedFile
impl Sync for DownloadedFile
impl Unpin for DownloadedFile
impl UnsafeUnpin for DownloadedFile
impl UnwindSafe for DownloadedFile
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