pub struct BuildProvenance {
pub git_commit: Option<String>,
pub cargo_lock_hash: Option<String>,
pub flake_lock_hash: Option<String>,
pub rustc_version: Option<String>,
pub target_triple: Option<String>,
pub env_allowlist: Vec<String>,
}Expand description
Build provenance (reproducibility metadata).
Fields§
§git_commit: Option<String>Git commit of the build, if available.
cargo_lock_hash: Option<String>Hash of Cargo.lock, if captured by the caller.
flake_lock_hash: Option<String>Hash of flake.lock, if captured by the caller.
rustc_version: Option<String>Rust compiler version used to build the operation.
target_triple: Option<String>Target triple of the built artifact.
env_allowlist: Vec<String>Environment-variable names intentionally allowed into provenance.
Trait Implementations§
Source§impl Clone for BuildProvenance
impl Clone for BuildProvenance
Source§fn clone(&self) -> BuildProvenance
fn clone(&self) -> BuildProvenance
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 BuildProvenance
impl Debug for BuildProvenance
Source§impl<'de> Deserialize<'de> for BuildProvenance
impl<'de> Deserialize<'de> for BuildProvenance
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 PartialEq for BuildProvenance
impl PartialEq for BuildProvenance
Source§impl Serialize for BuildProvenance
impl Serialize for BuildProvenance
impl Eq for BuildProvenance
impl StructuralPartialEq for BuildProvenance
Auto Trait Implementations§
impl Freeze for BuildProvenance
impl RefUnwindSafe for BuildProvenance
impl Send for BuildProvenance
impl Sync for BuildProvenance
impl Unpin for BuildProvenance
impl UnsafeUnpin for BuildProvenance
impl UnwindSafe for BuildProvenance
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