pub struct PendingFile {
pub path: PathBuf,
pub mime_type: String,
pub size_bytes: u64,
pub thumbnail_path: Option<PathBuf>,
}Fields§
§path: PathBuf§mime_type: String§size_bytes: u64§thumbnail_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for PendingFile
impl Clone for PendingFile
Source§fn clone(&self) -> PendingFile
fn clone(&self) -> PendingFile
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 PendingFile
impl Debug for PendingFile
Source§impl<'de> Deserialize<'de> for PendingFile
impl<'de> Deserialize<'de> for PendingFile
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 PartialEq for PendingFile
impl PartialEq for PendingFile
Source§fn eq(&self, other: &PendingFile) -> bool
fn eq(&self, other: &PendingFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PendingFile
impl Serialize for PendingFile
impl StructuralPartialEq for PendingFile
Auto Trait Implementations§
impl Freeze for PendingFile
impl RefUnwindSafe for PendingFile
impl Send for PendingFile
impl Sync for PendingFile
impl Unpin for PendingFile
impl UnsafeUnpin for PendingFile
impl UnwindSafe for PendingFile
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