pub struct MetadataReference {
pub range: Range<u64>,
pub digest: Option<String>,
pub uncompressed_size: u64,
}Expand description
A reference to file metadata, either the manifest or the tarsplit
Fields§
§range: Range<u64>The range itself, in bytes, in the compressed file.
digest: Option<String>The digest of the data at the range, before decompression. This will be missing if we read from the file footer or if the OCI annotations didn’t provide it.
uncompressed_size: u64The size of the compressed data at the range, after decompression.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetadataReference
impl RefUnwindSafe for MetadataReference
impl Send for MetadataReference
impl Sync for MetadataReference
impl Unpin for MetadataReference
impl UnsafeUnpin for MetadataReference
impl UnwindSafe for MetadataReference
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