Struct google_containeranalysis1::api::ImageOccurrence
source · pub struct ImageOccurrence {
pub base_resource_url: Option<String>,
pub distance: Option<i32>,
pub fingerprint: Option<Fingerprint>,
pub layer_info: Option<Vec<Layer>>,
}Expand description
Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .
This type is not used in any activity, and only used as part of another schema.
Fields§
§base_resource_url: Option<String>Output only. This contains the base image URL for the derived image occurrence.
distance: Option<i32>Output only. The number of layers by which this image differs from the associated image basis.
fingerprint: Option<Fingerprint>Required. The fingerprint of the derived image.
layer_info: Option<Vec<Layer>>This contains layer-specific metadata, if populated it has length “distance” and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
Trait Implementations§
source§impl Clone for ImageOccurrence
impl Clone for ImageOccurrence
source§fn clone(&self) -> ImageOccurrence
fn clone(&self) -> ImageOccurrence
Returns a copy 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 ImageOccurrence
impl Debug for ImageOccurrence
source§impl Default for ImageOccurrence
impl Default for ImageOccurrence
source§fn default() -> ImageOccurrence
fn default() -> ImageOccurrence
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImageOccurrence
impl<'de> Deserialize<'de> for ImageOccurrence
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