pub struct AdjudicationContext {
pub actor_roles: Vec<Role>,
pub authority_chain: AuthorityChain,
pub consent_records: Vec<ConsentRecord>,
pub bailment_state: BailmentState,
pub human_override_preserved: bool,
pub actor_permissions: PermissionSet,
pub trusted_authority_keys: TrustedAuthorityKeys,
pub trusted_provenance_keys: TrustedProvenanceKeys,
pub provenance: Option<Provenance>,
pub quorum_evidence: Option<QuorumEvidence>,
pub active_challenge_reason: Option<String>,
}Expand description
Contextual evidence (roles, authority chain, consent, etc.) supplied alongside an action request.
Fields§
§actor_roles: Vec<Role>§consent_records: Vec<ConsentRecord>§bailment_state: BailmentState§human_override_preserved: bool§actor_permissions: PermissionSet§trusted_provenance_keys: TrustedProvenanceKeys§provenance: Option<Provenance>§quorum_evidence: Option<QuorumEvidence>§active_challenge_reason: Option<String>When set, the action is under an active Sybil challenge hold.
The kernel can pause otherwise valid or reviewable authority/quorum
cases as Verdict::Escalated, but final constitutional denials still
win after invariant checks run.
Populate from ContestHold::escalation_reason() in exo-escalation.
Trait Implementations§
Source§impl Clone for AdjudicationContext
impl Clone for AdjudicationContext
Source§fn clone(&self) -> AdjudicationContext
fn clone(&self) -> AdjudicationContext
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 AdjudicationContext
impl Debug for AdjudicationContext
Source§impl<'de> Deserialize<'de> for AdjudicationContext
impl<'de> Deserialize<'de> for AdjudicationContext
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
Auto Trait Implementations§
impl Freeze for AdjudicationContext
impl RefUnwindSafe for AdjudicationContext
impl Send for AdjudicationContext
impl Sync for AdjudicationContext
impl Unpin for AdjudicationContext
impl UnsafeUnpin for AdjudicationContext
impl UnwindSafe for AdjudicationContext
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
Converts
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>
Converts
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