pub struct ImageLayer {
pub digest: LayerDigest,
pub compressed_size: u64,
pub uncompressed_size: u64,
pub media_type: String,
}Expand description
A single layer in a container image.
Fields§
§digest: LayerDigestSHA-256 digest of the layer content.
compressed_size: u64Compressed size in bytes.
uncompressed_size: u64Uncompressed size in bytes.
media_type: StringMedia type (e.g., “application/vnd.oci.image.layer.v1.tar+gzip”).
Trait Implementations§
Source§impl Clone for ImageLayer
impl Clone for ImageLayer
Source§fn clone(&self) -> ImageLayer
fn clone(&self) -> ImageLayer
Returns a duplicate of the value. Read more
1.0.0§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 ImageLayer
impl RefUnwindSafe for ImageLayer
impl Send for ImageLayer
impl Sync for ImageLayer
impl Unpin for ImageLayer
impl UnwindSafe for ImageLayer
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)