pub struct SlsaMetadata {
pub build_finished_on: Option<DateTime<Utc>>,
pub build_invocation_id: Option<String>,
pub build_started_on: Option<DateTime<Utc>>,
pub completeness: Option<SlsaCompleteness>,
pub reproducible: Option<bool>,
}
Expand description
Other properties of the build.
This type is not used in any activity, and only used as part of another schema.
Fields§
§build_finished_on: Option<DateTime<Utc>>
The timestamp of when the build completed.
build_invocation_id: Option<String>
Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
build_started_on: Option<DateTime<Utc>>
The timestamp of when the build started.
completeness: Option<SlsaCompleteness>
Indicates that the builder claims certain fields in this message to be complete.
reproducible: Option<bool>
If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
Trait Implementations§
Source§impl Clone for SlsaMetadata
impl Clone for SlsaMetadata
Source§fn clone(&self) -> SlsaMetadata
fn clone(&self) -> SlsaMetadata
Returns a duplicate 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 SlsaMetadata
impl Debug for SlsaMetadata
Source§impl Default for SlsaMetadata
impl Default for SlsaMetadata
Source§fn default() -> SlsaMetadata
fn default() -> SlsaMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SlsaMetadata
impl<'de> Deserialize<'de> for SlsaMetadata
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
Source§impl Serialize for SlsaMetadata
impl Serialize for SlsaMetadata
impl Part for SlsaMetadata
Auto Trait Implementations§
impl Freeze for SlsaMetadata
impl RefUnwindSafe for SlsaMetadata
impl Send for SlsaMetadata
impl Sync for SlsaMetadata
impl Unpin for SlsaMetadata
impl UnwindSafe for SlsaMetadata
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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