pub struct SelectedContextRef {Show 14 fields
pub ref_id: ContextRefId,
pub summary: String,
pub scope: Vec<String>,
pub confidence: Option<u8>,
pub authority: Option<String>,
pub runtime_mode: RuntimeMode,
pub authority_class: AuthorityClass,
pub proof_state: ClaimProofState,
pub claim_ceiling: ClaimCeiling,
pub provenance_class: ProvenanceClass,
pub semantic_trust: SemanticTrustClass,
pub downgrade_reasons: Vec<String>,
pub selection_reason: String,
pub raw_event_payload: Option<Value>,
}Expand description
Ref selected for inclusion in a pack.
Fields§
§ref_id: ContextRefIdSelected ref id.
summary: StringRedacted/abstracted summary safe for the pack’s declared policy.
scope: Vec<String>Scope fields describing where this ref applies.
confidence: Option<u8>Confidence as a percentage, when known.
Authority tier or source label, when known.
runtime_mode: RuntimeModeRuntime mode bounding this ref’s authority claim.
Authority class used for ceiling calculation.
proof_state: ClaimProofStateProof closure state for this ref.
claim_ceiling: ClaimCeilingEffective claim ceiling after weakest-link downgrades.
provenance_class: ProvenanceClassSemantic provenance family for this ref.
semantic_trust: SemanticTrustClassSemantic trust class for this ref.
downgrade_reasons: Vec<String>Human-readable downgrade reasons.
selection_reason: StringWhy this ref was selected.
raw_event_payload: Option<Value>Raw event payload, present only for operator-mode explicit opt-in.
Trait Implementations§
Source§impl Clone for SelectedContextRef
impl Clone for SelectedContextRef
Source§fn clone(&self) -> SelectedContextRef
fn clone(&self) -> SelectedContextRef
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 SelectedContextRef
impl Debug for SelectedContextRef
Source§impl<'de> Deserialize<'de> for SelectedContextRef
impl<'de> Deserialize<'de> for SelectedContextRef
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 PartialEq for SelectedContextRef
impl PartialEq for SelectedContextRef
Source§fn eq(&self, other: &SelectedContextRef) -> bool
fn eq(&self, other: &SelectedContextRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SelectedContextRef
impl Serialize for SelectedContextRef
impl StructuralPartialEq for SelectedContextRef
Auto Trait Implementations§
impl Freeze for SelectedContextRef
impl RefUnwindSafe for SelectedContextRef
impl Send for SelectedContextRef
impl Sync for SelectedContextRef
impl Unpin for SelectedContextRef
impl UnsafeUnpin for SelectedContextRef
impl UnwindSafe for SelectedContextRef
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