pub struct LayerDetails {
pub base_images: Option<Vec<BaseImage>>,
pub chain_id: Option<String>,
pub command: Option<String>,
pub diff_id: Option<String>,
pub index: Option<i32>,
}Expand description
Details about the layer a package was found in.
This type is not used in any activity, and only used as part of another schema.
Fields§
§base_images: Option<Vec<BaseImage>>The base images the layer is found within.
chain_id: Option<String>The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
command: Option<String>The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
diff_id: Option<String>The diff ID (typically a sha256 hash) of the layer in the container image.
index: Option<i32>The index of the layer in the container image.
Trait Implementations§
Source§impl Clone for LayerDetails
impl Clone for LayerDetails
Source§fn clone(&self) -> LayerDetails
fn clone(&self) -> LayerDetails
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 LayerDetails
impl Debug for LayerDetails
Source§impl Default for LayerDetails
impl Default for LayerDetails
Source§fn default() -> LayerDetails
fn default() -> LayerDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayerDetails
impl<'de> Deserialize<'de> for LayerDetails
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
Source§impl Serialize for LayerDetails
impl Serialize for LayerDetails
impl Part for LayerDetails
Auto Trait Implementations§
impl Freeze for LayerDetails
impl RefUnwindSafe for LayerDetails
impl Send for LayerDetails
impl Sync for LayerDetails
impl Unpin for LayerDetails
impl UnwindSafe for LayerDetails
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