pub struct ProofCarryingObservation {
pub schema_version: u32,
pub proposition: Proposition,
pub guarantees: EvidenceGuarantees,
pub completeness: BTreeMap<CompletenessDimension, CompletenessState>,
pub backend_profile: BackendSemanticProfile,
pub ambiguity_codes: BTreeSet<String>,
}Fields§
§schema_version: u32§proposition: Proposition§guarantees: EvidenceGuarantees§completeness: BTreeMap<CompletenessDimension, CompletenessState>§backend_profile: BackendSemanticProfile§ambiguity_codes: BTreeSet<String>Implementations§
Source§impl ProofCarryingObservation
impl ProofCarryingObservation
pub fn new( proposition: Proposition, guarantees: EvidenceGuarantees, backend_profile: BackendSemanticProfile, ) -> Self
pub fn satisfies(&self, requirement: &ProofRequirement) -> bool
Trait Implementations§
Source§impl Clone for ProofCarryingObservation
impl Clone for ProofCarryingObservation
Source§impl Debug for ProofCarryingObservation
impl Debug for ProofCarryingObservation
Source§impl<'de> Deserialize<'de> for ProofCarryingObservation
impl<'de> Deserialize<'de> for ProofCarryingObservation
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
impl Eq for ProofCarryingObservation
Source§impl PartialEq for ProofCarryingObservation
impl PartialEq for ProofCarryingObservation
Source§impl Serialize for ProofCarryingObservation
impl Serialize for ProofCarryingObservation
impl StructuralPartialEq for ProofCarryingObservation
Auto Trait Implementations§
impl Freeze for ProofCarryingObservation
impl RefUnwindSafe for ProofCarryingObservation
impl Send for ProofCarryingObservation
impl Sync for ProofCarryingObservation
impl Unpin for ProofCarryingObservation
impl UnsafeUnpin for ProofCarryingObservation
impl UnwindSafe for ProofCarryingObservation
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