pub struct Entry {
pub rel: String,
pub abs: PathBuf,
pub kind: EntryKind,
pub size: u64,
}Expand description
One path that will be written into the archive.
Fields§
§rel: StringPath relative to the project root, using / separators.
abs: PathBufAbsolute path on disk.
kind: EntryKindWhat kind of entry this is.
size: u64Size in bytes for regular files, 0 otherwise.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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