pub enum MembershipOutcome {
NoClaim,
Verified {
op_did: String,
org_dids: Vec<String>,
},
Rejected {
reason: String,
},
}Expand description
Outcome of evaluating a card’s organizational claims.
Variants§
NoClaim
No op_did on the card — an ordinary peer; no org easing applies.
Verified
Operator binding AND ≥1 org vouch verified end-to-end. Carries the
op_did and the org_dids that checked out (for the Phase 3 filter
surface + policy match).
Rejected
A claim was present but failed verification. The caller MUST NOT
promote — treat the peer as if it had no claim (fail closed) and may
surface reason for diagnostics.
Trait Implementations§
Source§impl Clone for MembershipOutcome
impl Clone for MembershipOutcome
Source§fn clone(&self) -> MembershipOutcome
fn clone(&self) -> MembershipOutcome
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 MembershipOutcome
impl Debug for MembershipOutcome
impl Eq for MembershipOutcome
Source§impl PartialEq for MembershipOutcome
impl PartialEq for MembershipOutcome
Source§fn eq(&self, other: &MembershipOutcome) -> bool
fn eq(&self, other: &MembershipOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MembershipOutcome
Auto Trait Implementations§
impl Freeze for MembershipOutcome
impl RefUnwindSafe for MembershipOutcome
impl Send for MembershipOutcome
impl Sync for MembershipOutcome
impl Unpin for MembershipOutcome
impl UnsafeUnpin for MembershipOutcome
impl UnwindSafe for MembershipOutcome
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.