pub struct WorkEvidenceRef {
pub kind: String,
pub id: String,
pub label: Option<String>,
pub summary: Option<String>,
pub confirmation_kind: Option<WorkEvidenceKind>,
pub confirming_owner_key: Option<WorkOwnerKey>,
}Fields§
§kind: StringOpaque provenance/display label for the evidence. It is parsed into the
typed confirmation classification at the ingress boundary only (see
WorkEvidenceRef::confirmation_classification); no completion-policy
satisfaction decision re-reads this string. The typed
WorkEvidenceRef::confirmation_kind is the authoritative carrier.
id: String§label: Option<String>§summary: Option<String>§confirmation_kind: Option<WorkEvidenceKind>Typed confirmation classification set by the trusted producer. Drives the
machine-owned completion-policy satisfaction decision. Generic evidence
leaves this unset (treated as SelfAttest).
confirming_owner_key: Option<WorkOwnerKey>Typed identity of the confirming owner for supervisor/reviewer confirmations. Set by the trusted producer; the machine records distinct owners per confirmation kind.
Trait Implementations§
Source§impl Clone for WorkEvidenceRef
impl Clone for WorkEvidenceRef
Source§fn clone(&self) -> WorkEvidenceRef
fn clone(&self) -> WorkEvidenceRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkEvidenceRef
impl Debug for WorkEvidenceRef
Source§impl<'de> Deserialize<'de> for WorkEvidenceRef
impl<'de> Deserialize<'de> for WorkEvidenceRef
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 WorkEvidenceRef
Source§impl PartialEq for WorkEvidenceRef
impl PartialEq for WorkEvidenceRef
Source§fn eq(&self, other: &WorkEvidenceRef) -> bool
fn eq(&self, other: &WorkEvidenceRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkEvidenceRef
impl Serialize for WorkEvidenceRef
impl StructuralPartialEq for WorkEvidenceRef
Auto Trait Implementations§
impl Freeze for WorkEvidenceRef
impl RefUnwindSafe for WorkEvidenceRef
impl Send for WorkEvidenceRef
impl Sync for WorkEvidenceRef
impl Unpin for WorkEvidenceRef
impl UnsafeUnpin for WorkEvidenceRef
impl UnwindSafe for WorkEvidenceRef
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§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.