pub enum AdmissionLifecycle {
CandidateOnly,
Validated,
Promoted,
Stale,
Quarantined,
Unknown,
}Expand description
Required lifecycle assertion for a pai-axiom trust exchange admission.
Cortex admits only candidate_only — any other lifecycle is a hard
structural refusal.
Variants§
CandidateOnly
Candidate-only admission (the only admissible value).
Validated
Validated lifecycle — not admissible at the Cortex receiver.
Promoted
Promoted lifecycle — not admissible at the Cortex receiver.
Stale
Stale lifecycle — not admissible at the Cortex receiver.
Quarantined
Quarantined lifecycle — not admissible at the Cortex receiver.
Unknown
Lifecycle missing or unknown — not admissible.
Implementations§
Source§impl AdmissionLifecycle
impl AdmissionLifecycle
Sourcepub const fn is_candidate_only(self) -> bool
pub const fn is_candidate_only(self) -> bool
Whether this lifecycle is the only admissible value.
Trait Implementations§
Source§impl Clone for AdmissionLifecycle
impl Clone for AdmissionLifecycle
Source§fn clone(&self) -> AdmissionLifecycle
fn clone(&self) -> AdmissionLifecycle
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 AdmissionLifecycle
impl Debug for AdmissionLifecycle
Source§impl<'de> Deserialize<'de> for AdmissionLifecycle
impl<'de> Deserialize<'de> for AdmissionLifecycle
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 Hash for AdmissionLifecycle
impl Hash for AdmissionLifecycle
Source§impl PartialEq for AdmissionLifecycle
impl PartialEq for AdmissionLifecycle
Source§fn eq(&self, other: &AdmissionLifecycle) -> bool
fn eq(&self, other: &AdmissionLifecycle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AdmissionLifecycle
impl Serialize for AdmissionLifecycle
impl Copy for AdmissionLifecycle
impl Eq for AdmissionLifecycle
impl StructuralPartialEq for AdmissionLifecycle
Auto Trait Implementations§
impl Freeze for AdmissionLifecycle
impl RefUnwindSafe for AdmissionLifecycle
impl Send for AdmissionLifecycle
impl Sync for AdmissionLifecycle
impl Unpin for AdmissionLifecycle
impl UnsafeUnpin for AdmissionLifecycle
impl UnwindSafe for AdmissionLifecycle
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> 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§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.