pub struct ImageLayer {
pub blob: Digest,
pub diff_id: Digest,
}Expand description
One layer of an image: its blob (compressed) digest and its diff_id (the digest of the uncompressed tar, from the image config).
Fields§
§blob: Digest§diff_id: DigestTrait Implementations§
Source§impl Clone for ImageLayer
impl Clone for ImageLayer
Source§impl Debug for ImageLayer
impl Debug for ImageLayer
Source§impl<'de> Deserialize<'de> for ImageLayer
impl<'de> Deserialize<'de> for ImageLayer
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
impl Eq for ImageLayer
Source§impl PartialEq for ImageLayer
impl PartialEq for ImageLayer
Source§impl Serialize for ImageLayer
impl Serialize for ImageLayer
impl StructuralPartialEq for ImageLayer
Auto Trait Implementations§
impl Forget for ImageLayer
impl Freeze for ImageLayer
impl Move for ImageLayer
impl RefUnwindSafe for ImageLayer
impl Send for ImageLayer
impl Sync for ImageLayer
impl Unpin for ImageLayer
impl UnsafeUnpin for ImageLayer
impl UnwindSafe for ImageLayer
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