pub struct ArchiveEnvelopeEntry { /* private fields */ }Expand description
Validated metadata for one archive entry.
Implementations§
Source§impl ArchiveEnvelopeEntry
impl ArchiveEnvelopeEntry
Sourcepub fn path(&self) -> &NormalizedArchivePath
pub fn path(&self) -> &NormalizedArchivePath
Normalized relative archive path.
Sourcepub fn compressed_size(&self) -> u64
pub fn compressed_size(&self) -> u64
Compressed entry size in bytes.
Trait Implementations§
Source§impl Clone for ArchiveEnvelopeEntry
impl Clone for ArchiveEnvelopeEntry
Source§fn clone(&self) -> ArchiveEnvelopeEntry
fn clone(&self) -> ArchiveEnvelopeEntry
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 moreAuto Trait Implementations§
impl Freeze for ArchiveEnvelopeEntry
impl RefUnwindSafe for ArchiveEnvelopeEntry
impl Send for ArchiveEnvelopeEntry
impl Sync for ArchiveEnvelopeEntry
impl Unpin for ArchiveEnvelopeEntry
impl UnsafeUnpin for ArchiveEnvelopeEntry
impl UnwindSafe for ArchiveEnvelopeEntry
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more