pub struct AdmissionSemanticTrustInput {
pub intended_use: SemanticUse,
pub independent_source_families: u16,
pub falsification_evidence: bool,
pub unresolved_semantic_unknowns: bool,
}Expand description
Caller-supplied semantic trust context that is not present in the ADR 0038 admission envelope.
Fields§
§intended_use: SemanticUseIntended authority surface for this semantic evaluation.
independent_source_families: u16Independent source-family count computed by the caller.
falsification_evidence: boolWhether falsification/counterexample evidence is attached.
unresolved_semantic_unknowns: boolWhether semantic unknowns remain outside the structural admission fields.
Implementations§
Source§impl AdmissionSemanticTrustInput
impl AdmissionSemanticTrustInput
Sourcepub const fn new(intended_use: SemanticUse) -> Self
pub const fn new(intended_use: SemanticUse) -> Self
Construct input for one intended use.
Sourcepub const fn with_independent_source_families(self, count: u16) -> Self
pub const fn with_independent_source_families(self, count: u16) -> Self
Attach caller-computed independent source-family count.
Sourcepub const fn with_falsification_evidence(self, present: bool) -> Self
pub const fn with_falsification_evidence(self, present: bool) -> Self
Attach falsification evidence state.
Sourcepub const fn with_unresolved_semantic_unknowns(self, present: bool) -> Self
pub const fn with_unresolved_semantic_unknowns(self, present: bool) -> Self
Attach unresolved semantic unknown state.
Trait Implementations§
Source§impl Clone for AdmissionSemanticTrustInput
impl Clone for AdmissionSemanticTrustInput
Source§fn clone(&self) -> AdmissionSemanticTrustInput
fn clone(&self) -> AdmissionSemanticTrustInput
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 AdmissionSemanticTrustInput
impl Debug for AdmissionSemanticTrustInput
Source§impl PartialEq for AdmissionSemanticTrustInput
impl PartialEq for AdmissionSemanticTrustInput
Source§fn eq(&self, other: &AdmissionSemanticTrustInput) -> bool
fn eq(&self, other: &AdmissionSemanticTrustInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AdmissionSemanticTrustInput
impl Eq for AdmissionSemanticTrustInput
impl StructuralPartialEq for AdmissionSemanticTrustInput
Auto Trait Implementations§
impl Freeze for AdmissionSemanticTrustInput
impl RefUnwindSafe for AdmissionSemanticTrustInput
impl Send for AdmissionSemanticTrustInput
impl Sync for AdmissionSemanticTrustInput
impl Unpin for AdmissionSemanticTrustInput
impl UnsafeUnpin for AdmissionSemanticTrustInput
impl UnwindSafe for AdmissionSemanticTrustInput
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§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.