Struct google_ondemandscanning1::api::Occurrence [−][src]
An instance of an analysis type that has been found on a resource.
This type is not used in any activity, and only used as part of another schema.
Fields
attestation: Option<AttestationOccurrence>
Describes an attestation of an artifact.
build: Option<BuildOccurrence>
Describes a verifiable build.
create_time: Option<String>
Output only. The time this occurrence was created.
deployment: Option<DeploymentOccurrence>
Describes the deployment of an artifact on a runtime.
discovery: Option<DiscoveryOccurrence>
Describes when a resource was discovered.
image: Option<ImageOccurrence>
Describes how this resource derives from the basis in the associated note.
kind: Option<String>
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
name: Option<String>
Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
note_name: Option<String>
Required. Immutable. The analysis note associated with this occurrence, in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
. This field can be used as a filter in list requests.
package: Option<PackageOccurrence>
Describes the installation of a package on the linked resource.
remediation: Option<String>
A description of actions that can be taken to remedy the note.
resource_uri: Option<String>
Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, https://gcr.io/project/image@sha256:123abc
for a Docker image.
update_time: Option<String>
Output only. The time this occurrence was last updated.
upgrade: Option<UpgradeOccurrence>
Describes an available package upgrade on the linked resource.
vulnerability: Option<VulnerabilityOccurrence>
Describes a security vulnerability.
Trait Implementations
impl Clone for Occurrence
[src]
fn clone(&self) -> Occurrence
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Occurrence
[src]
impl Default for Occurrence
[src]
fn default() -> Occurrence
[src]
impl<'de> Deserialize<'de> for Occurrence
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for Occurrence
[src]
impl Serialize for Occurrence
[src]
Auto Trait Implementations
impl RefUnwindSafe for Occurrence
impl Send for Occurrence
impl Sync for Occurrence
impl Unpin for Occurrence
impl UnwindSafe for Occurrence
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,