pub struct CachedLayerMetadata {
pub digest: String,
pub media_type: Option<String>,
pub size_bytes: Option<u64>,
pub diff_id: String,
}Expand description
Cached metadata for a single layer descriptor.
Fields§
§digest: StringCompressed layer digest from the manifest.
media_type: Option<String>OCI media type of the layer blob.
size_bytes: Option<u64>Compressed blob size in bytes.
diff_id: StringUncompressed diff ID from the image config.
Trait Implementations§
Source§impl Clone for CachedLayerMetadata
impl Clone for CachedLayerMetadata
Source§fn clone(&self) -> CachedLayerMetadata
fn clone(&self) -> CachedLayerMetadata
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 moreSource§impl Debug for CachedLayerMetadata
impl Debug for CachedLayerMetadata
Source§impl<'de> Deserialize<'de> for CachedLayerMetadata
impl<'de> Deserialize<'de> for CachedLayerMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CachedLayerMetadata
impl RefUnwindSafe for CachedLayerMetadata
impl Send for CachedLayerMetadata
impl Sync for CachedLayerMetadata
impl Unpin for CachedLayerMetadata
impl UnsafeUnpin for CachedLayerMetadata
impl UnwindSafe for CachedLayerMetadata
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