pub struct OffboardingRecord {
pub org_did: String,
pub member_did: String,
pub revoked_at_seq: u128,
pub revocation_seal_said: String,
pub reason: Option<String>,
pub operator_did: String,
pub prior_role: Option<String>,
pub prior_caps: Vec<Capability>,
pub recorded_at: String,
}Expand description
A typed off-boarding record — the durable evidence emitted alongside a member
revocation. Ordering is by KEL position (revoked_at_seq), never wall-clock.
Fields§
§org_did: StringThe org’s did:keri: (the delegator that off-boarded the member).
member_did: StringThe off-boarded member’s did:keri:.
revoked_at_seq: u128The KEL sequence of the org’s revocation event — the exact position after which the member’s authority is gone. Causal, not wall-clock.
revocation_seal_said: StringThe SAID of the org KEL event carrying the revocation seal (anti-forgery binding: the record is only valid against this on-KEL event).
reason: Option<String>Optional operator-supplied reason for the off-boarding.
operator_did: StringThe DID that authored the revocation. For a kt=1 org this is the org DID.
prior_role: Option<String>The role the member held at the revocation position (what they lost).
prior_caps: Vec<Capability>The capabilities the member held at the revocation position (what they lost).
recorded_at: StringWhen the record was recorded (RFC 3339, injected clock). Provenance only —
authority ordering is by revoked_at_seq, never this timestamp.
Trait Implementations§
Source§impl Clone for OffboardingRecord
impl Clone for OffboardingRecord
Source§fn clone(&self) -> OffboardingRecord
fn clone(&self) -> OffboardingRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OffboardingRecord
impl Debug for OffboardingRecord
Source§impl<'de> Deserialize<'de> for OffboardingRecord
impl<'de> Deserialize<'de> for OffboardingRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OffboardingRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OffboardingRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for OffboardingRecord
Source§impl PartialEq for OffboardingRecord
impl PartialEq for OffboardingRecord
Source§impl Serialize for OffboardingRecord
impl Serialize for OffboardingRecord
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for OffboardingRecord
Auto Trait Implementations§
impl Freeze for OffboardingRecord
impl RefUnwindSafe for OffboardingRecord
impl Send for OffboardingRecord
impl Sync for OffboardingRecord
impl Unpin for OffboardingRecord
impl UnsafeUnpin for OffboardingRecord
impl UnwindSafe for OffboardingRecord
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
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
key and return true if they are equal.