pub struct AccountabilityState {
pub ledger: AccountabilityLedger,
pub credentials: Vec<ConsentCredential>,
pub conduct: Vec<ConductRecord>,
pub payloads: Vec<EncryptedCommonsPayload>,
pub dead_mans_switches: Vec<DeadMansSwitchRecord>,
pub incapacity_switches: Vec<IncapacitySwitch>,
pub disclosure_ccs: Vec<TransparencyCc>,
pub disclosure_events: Vec<DisclosureEvent>,
}Expand description
The whole persisted accountability set.
Fields§
§ledger: AccountabilityLedgerThe authoritative, signed, hash-chained record of every act (the tamper-evidence spine).
credentials: Vec<ConsentCredential>The consent credentials granted (mutated in place on revoke — the wrapped key is destroyed).
conduct: Vec<ConductRecord>The durable conduct trail (survives credential revocation; also mirrored into the ledger).
payloads: Vec<EncryptedCommonsPayload>The envelope-encrypted commons payloads (ciphertext + content-address commitment), keyed by
commitment via a credential’s payload_commitment. Only ciphertext lives here — the DEK is sealed
inside each credential’s wrapped_key, never stored in the clear.
dead_mans_switches: Vec<DeadMansSwitchRecord>Armed dead-man switches (post-death disposition), each with its accumulated attestations.
incapacity_switches: Vec<IncapacitySwitch>Armed incapacity switches (advocate activation on validated, reversible incapacity).
disclosure_ccs: Vec<TransparencyCc>Transparency cc’s — durable “I informed authority X on date Y” protective records.
disclosure_events: Vec<DisclosureEvent>Disclosure events — the durable, attributable access/onward-share trail (who saw what, via whom).
Trait Implementations§
Source§impl Clone for AccountabilityState
impl Clone for AccountabilityState
Source§fn clone(&self) -> AccountabilityState
fn clone(&self) -> AccountabilityState
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 AccountabilityState
impl Debug for AccountabilityState
Source§impl Default for AccountabilityState
impl Default for AccountabilityState
Source§fn default() -> AccountabilityState
fn default() -> AccountabilityState
Source§impl<'de> Deserialize<'de> for AccountabilityState
impl<'de> Deserialize<'de> for AccountabilityState
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>,
Source§impl PartialEq for AccountabilityState
impl PartialEq for AccountabilityState
Source§fn eq(&self, other: &AccountabilityState) -> bool
fn eq(&self, other: &AccountabilityState) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for AccountabilityState
impl Serialize for AccountabilityState
impl Eq for AccountabilityState
impl StructuralPartialEq for AccountabilityState
Auto Trait Implementations§
impl Freeze for AccountabilityState
impl RefUnwindSafe for AccountabilityState
impl Send for AccountabilityState
impl Sync for AccountabilityState
impl Unpin for AccountabilityState
impl UnsafeUnpin for AccountabilityState
impl UnwindSafe for AccountabilityState
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more