pub struct GrafeasV1beta1BuildDetails {
pub in_toto_slsa_provenance_v1: Option<InTotoSlsaProvenanceV1>,
pub provenance: Option<BuildProvenance>,
pub provenance_bytes: Option<String>,
}Expand description
Details of a build occurrence.
This type is not used in any activity, and only used as part of another schema.
Fields§
§in_toto_slsa_provenance_v1: Option<InTotoSlsaProvenanceV1>no description provided
provenance: Option<BuildProvenance>Required. The actual provenance for the build.
provenance_bytes: Option<String>Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, provenance_bytes can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.
Trait Implementations§
Source§impl Clone for GrafeasV1beta1BuildDetails
impl Clone for GrafeasV1beta1BuildDetails
Source§fn clone(&self) -> GrafeasV1beta1BuildDetails
fn clone(&self) -> GrafeasV1beta1BuildDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GrafeasV1beta1BuildDetails
impl Debug for GrafeasV1beta1BuildDetails
Source§impl Default for GrafeasV1beta1BuildDetails
impl Default for GrafeasV1beta1BuildDetails
Source§fn default() -> GrafeasV1beta1BuildDetails
fn default() -> GrafeasV1beta1BuildDetails
Source§impl<'de> Deserialize<'de> for GrafeasV1beta1BuildDetails
impl<'de> Deserialize<'de> for GrafeasV1beta1BuildDetails
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>,
impl Part for GrafeasV1beta1BuildDetails
Auto Trait Implementations§
impl Freeze for GrafeasV1beta1BuildDetails
impl RefUnwindSafe for GrafeasV1beta1BuildDetails
impl Send for GrafeasV1beta1BuildDetails
impl Sync for GrafeasV1beta1BuildDetails
impl Unpin for GrafeasV1beta1BuildDetails
impl UnwindSafe for GrafeasV1beta1BuildDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more