Struct google_containeranalysis1_beta1::api::Resource [−][src]
pub struct Resource {
pub content_hash: Option<Hash>,
pub name: Option<String>,
pub uri: Option<String>,
}
Expand description
An entity that can have metadata. For example, a Docker image.
This type is not used in any activity, and only used as part of another schema.
Fields
content_hash: Option<Hash>
Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
name: Option<String>
Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - “Debian”.
uri: Option<String>
Required. The unique URI of the resource. For example, https://gcr.io/project/image@sha256:foo
for a Docker image.
Trait Implementations
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 RefUnwindSafe for Resource
impl UnwindSafe for Resource
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more