pub struct ArchiveEntry {
pub source: PathBuf,
pub name: PathBuf,
pub kind: EntryKind,
}Expand description
One entry to write into a new archive: the file on disk, and the name it gets inside the archive (relative to the directory being packed from).
Fields§
§source: PathBuf§name: PathBuf§kind: EntryKindTrait Implementations§
Source§impl Clone for ArchiveEntry
impl Clone for ArchiveEntry
Source§impl Debug for ArchiveEntry
impl Debug for ArchiveEntry
impl Eq for ArchiveEntry
Source§impl PartialEq for ArchiveEntry
impl PartialEq for ArchiveEntry
impl StructuralPartialEq for ArchiveEntry
Auto Trait Implementations§
impl Forget for ArchiveEntry
impl Freeze for ArchiveEntry
impl Move for ArchiveEntry
impl RefUnwindSafe for ArchiveEntry
impl Send for ArchiveEntrywhere
RawVecInner: Send,
impl Sync for ArchiveEntrywhere
RawVecInner: Sync,
impl Unpin for ArchiveEntry
impl UnsafeUnpin for ArchiveEntry
impl UnwindSafe for ArchiveEntrywhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.