pub struct CoverageReport {
pub unmapped: Vec<String>,
pub stale: Vec<String>,
pub contradictory: Vec<String>,
}Expand description
What a coverage check found wrong.
Rendered as a single message naming every offending id, because a gate that reports one failure at a time turns a contract bump into a sequence of runs.
Fields§
§unmapped: Vec<String>Ids in the contract that appear in neither table.
stale: Vec<String>Ids in a table that the contract does not have.
contradictory: Vec<String>Ids that appear in both tables.
Implementations§
Trait Implementations§
Source§impl Debug for CoverageReport
impl Debug for CoverageReport
Source§impl Display for CoverageReport
impl Display for CoverageReport
impl Eq for CoverageReport
Source§impl PartialEq for CoverageReport
impl PartialEq for CoverageReport
impl StructuralPartialEq for CoverageReport
Auto Trait Implementations§
impl Freeze for CoverageReport
impl RefUnwindSafe for CoverageReport
impl Send for CoverageReport
impl Sync for CoverageReport
impl Unpin for CoverageReport
impl UnsafeUnpin for CoverageReport
impl UnwindSafe for CoverageReport
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<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.