pub struct Attestation {
pub check: CheckKind,
pub result: CheckResult,
pub subject_tree: GitId,
pub details: BTreeMap<String, String>,
pub env: String,
pub log: Option<GitId>,
pub producer: String,
}Expand description
Evidence produced by a (possibly nondeterministic) check. Recorded in the operation log so that decisions can be replayed without rerunning it.
Fields§
§check: CheckKind§result: CheckResult§subject_tree: GitId§details: BTreeMap<String, String>§env: StringDigest of the environment: sandbox profile, commands, tool versions.
log: Option<GitId>§producer: StringTrait Implementations§
Source§impl Clone for Attestation
impl Clone for Attestation
Source§impl Debug for Attestation
impl Debug for Attestation
Source§impl<'de> Deserialize<'de> for Attestation
impl<'de> Deserialize<'de> for Attestation
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
impl Eq for Attestation
Source§impl PartialEq for Attestation
impl PartialEq for Attestation
Source§impl Serialize for Attestation
impl Serialize for Attestation
impl StructuralPartialEq for Attestation
Auto Trait Implementations§
impl Forget for Attestation
impl Freeze for Attestation
impl RefUnwindSafe for Attestation
impl Send for Attestation
impl Sync for Attestation
impl Unpin for Attestation
impl UnsafeUnpin for Attestation
impl UnwindSafe for Attestation
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.