Enum post_archiver::structs::ArchiveFile
source · pub enum ArchiveFile {
Image {
width: u32,
height: u32,
filename: PathBuf,
path: PathBuf,
},
Video {
filename: PathBuf,
path: PathBuf,
},
File {
filename: PathBuf,
path: PathBuf,
},
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for ArchiveFile
impl Clone for ArchiveFile
source§fn clone(&self) -> ArchiveFile
fn clone(&self) -> ArchiveFile
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 ArchiveFile
impl Debug for ArchiveFile
source§impl<'de> Deserialize<'de> for ArchiveFile
impl<'de> Deserialize<'de> for ArchiveFile
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 Hash for ArchiveFile
impl Hash for ArchiveFile
source§impl PartialEq for ArchiveFile
impl PartialEq for ArchiveFile
source§fn eq(&self, other: &ArchiveFile) -> bool
fn eq(&self, other: &ArchiveFile) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ArchiveFile
impl Serialize for ArchiveFile
impl Eq for ArchiveFile
impl StructuralPartialEq for ArchiveFile
Auto Trait Implementations§
impl Freeze for ArchiveFile
impl RefUnwindSafe for ArchiveFile
impl Send for ArchiveFile
impl Sync for ArchiveFile
impl Unpin for ArchiveFile
impl UnwindSafe for ArchiveFile
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