pub struct CoverageCertificate {
pub packet_id: Option<String>,
pub snapshot_id: Option<String>,
pub required: Vec<String>,
pub satisfied: BTreeMap<String, Vec<String>>,
pub missing: Vec<String>,
pub contradictions: Vec<ContradictionGroup>,
pub stale: bool,
pub sufficient: bool,
pub expansions_performed: u32,
pub claims: Vec<FacetClaim>,
}Fields§
§packet_id: Option<String>§snapshot_id: Option<String>§required: Vec<String>§satisfied: BTreeMap<String, Vec<String>>§missing: Vec<String>§contradictions: Vec<ContradictionGroup>§stale: bool§sufficient: bool§expansions_performed: u32§claims: Vec<FacetClaim>How each satisfied facet was closed. Empty when nothing validated.
Implementations§
Source§impl CoverageCertificate
impl CoverageCertificate
pub fn critical_missing(&self) -> Vec<&str>
Sourcepub fn ledger_matches(&self, other: &Self) -> bool
pub fn ledger_matches(&self, other: &Self) -> bool
Facets and citations the L0 map prints. Packet/snapshot ids are stamped later and must not count as a ledger change.
pub fn next_expansion(&self) -> Option<&str>
pub fn expand_handle(facet: &str) -> &'static str
Trait Implementations§
Source§impl Clone for CoverageCertificate
impl Clone for CoverageCertificate
Source§impl Debug for CoverageCertificate
impl Debug for CoverageCertificate
Source§impl Default for CoverageCertificate
impl Default for CoverageCertificate
Source§impl<'de> Deserialize<'de> for CoverageCertificate
impl<'de> Deserialize<'de> for CoverageCertificate
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 CoverageCertificate
Source§impl PartialEq for CoverageCertificate
impl PartialEq for CoverageCertificate
Source§impl Serialize for CoverageCertificate
impl Serialize for CoverageCertificate
impl StructuralPartialEq for CoverageCertificate
Auto Trait Implementations§
impl Freeze for CoverageCertificate
impl RefUnwindSafe for CoverageCertificate
impl Send for CoverageCertificate
impl Sync for CoverageCertificate
impl Unpin for CoverageCertificate
impl UnsafeUnpin for CoverageCertificate
impl UnwindSafe for CoverageCertificate
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