pub struct ArchiveEntry {
pub path: String,
pub size: u64,
pub is_dir: bool,
}Expand description
Information about a file in an archive
Fields§
§path: StringRelative path within the archive
size: u64File size in bytes
is_dir: boolWhether this is a directory
Trait Implementations§
Source§impl Clone for ArchiveEntry
impl Clone for ArchiveEntry
Source§fn clone(&self) -> ArchiveEntry
fn clone(&self) -> ArchiveEntry
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 moreAuto Trait Implementations§
impl Freeze for ArchiveEntry
impl RefUnwindSafe for ArchiveEntry
impl Send for ArchiveEntry
impl Sync for ArchiveEntry
impl Unpin for ArchiveEntry
impl UnwindSafe for ArchiveEntry
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