pub enum WorkEvidenceKind {
SelfAttest,
HostConfirmation,
PrincipalConfirmation,
SupervisorConfirmation,
ReviewerConfirmation,
}Expand description
Typed classification of confirmation evidence.
This is the canonical signal the WorkGraphLifecycleMachine consumes to
decide completion-policy satisfaction. The producer
(confirmation_evidence_for_policy) sets this field; the raw
WorkEvidenceRef::kind string remains only as opaque provenance/display
and is never re-read to classify evidence for the satisfaction decision.
Variants§
SelfAttest
Generic / self-attested evidence that does not satisfy any confirmation policy on its own.
HostConfirmation
PrincipalConfirmation
SupervisorConfirmation
ReviewerConfirmation
Trait Implementations§
Source§impl Clone for WorkEvidenceKind
impl Clone for WorkEvidenceKind
Source§fn clone(&self) -> WorkEvidenceKind
fn clone(&self) -> WorkEvidenceKind
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 moreimpl Copy for WorkEvidenceKind
Source§impl Debug for WorkEvidenceKind
impl Debug for WorkEvidenceKind
Source§impl Default for WorkEvidenceKind
impl Default for WorkEvidenceKind
Source§fn default() -> WorkEvidenceKind
fn default() -> WorkEvidenceKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkEvidenceKind
impl<'de> Deserialize<'de> for WorkEvidenceKind
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 WorkEvidenceKind
Source§impl Hash for WorkEvidenceKind
impl Hash for WorkEvidenceKind
Source§impl Ord for WorkEvidenceKind
impl Ord for WorkEvidenceKind
Source§fn cmp(&self, other: &WorkEvidenceKind) -> Ordering
fn cmp(&self, other: &WorkEvidenceKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WorkEvidenceKind
impl PartialEq for WorkEvidenceKind
Source§fn eq(&self, other: &WorkEvidenceKind) -> bool
fn eq(&self, other: &WorkEvidenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WorkEvidenceKind
impl PartialOrd for WorkEvidenceKind
Source§impl Serialize for WorkEvidenceKind
impl Serialize for WorkEvidenceKind
impl StructuralPartialEq for WorkEvidenceKind
Auto Trait Implementations§
impl Freeze for WorkEvidenceKind
impl RefUnwindSafe for WorkEvidenceKind
impl Send for WorkEvidenceKind
impl Sync for WorkEvidenceKind
impl Unpin for WorkEvidenceKind
impl UnsafeUnpin for WorkEvidenceKind
impl UnwindSafe for WorkEvidenceKind
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.