Enum google_api_proto::grafeas::v1::occurrence::Details
source · pub enum Details {
Vulnerability(VulnerabilityOccurrence),
Build(BuildOccurrence),
Image(ImageOccurrence),
Package(PackageOccurrence),
Deployment(DeploymentOccurrence),
Discovery(DiscoveryOccurrence),
Attestation(AttestationOccurrence),
Upgrade(UpgradeOccurrence),
Compliance(ComplianceOccurrence),
DsseAttestation(DsseAttestationOccurrence),
SbomReference(SbomReferenceOccurrence),
}
Expand description
Required. Immutable. Describes the details of the note kind found on this resource.
Variants§
Vulnerability(VulnerabilityOccurrence)
Describes a security vulnerability.
Build(BuildOccurrence)
Describes a verifiable build.
Image(ImageOccurrence)
Describes how this resource derives from the basis in the associated note.
Package(PackageOccurrence)
Describes the installation of a package on the linked resource.
Deployment(DeploymentOccurrence)
Describes the deployment of an artifact on a runtime.
Discovery(DiscoveryOccurrence)
Describes when a resource was discovered.
Attestation(AttestationOccurrence)
Describes an attestation of an artifact.
Upgrade(UpgradeOccurrence)
Describes an available package upgrade on the linked resource.
Compliance(ComplianceOccurrence)
Describes a compliance violation on a linked resource.
DsseAttestation(DsseAttestationOccurrence)
Describes an attestation of an artifact using dsse.
SbomReference(SbomReferenceOccurrence)
Describes a specific SBOM reference occurrences.
Implementations§
source§impl Details
impl Details
sourcepub fn merge(
field: &mut Option<Details>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Details>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Details
impl PartialEq for Details
impl StructuralPartialEq for Details
Auto Trait Implementations§
impl !Freeze for Details
impl RefUnwindSafe for Details
impl Send for Details
impl Sync for Details
impl Unpin for Details
impl UnwindSafe for Details
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request