pub struct SchemaReport {
pub unmodelled: Vec<String>,
pub stale: Vec<String>,
pub contradictory: Vec<String>,
pub disagreements: Vec<String>,
}Expand description
What a coverage run found wrong.
Every category is reported at once, because a gate that surfaces one problem per run turns a contract bump into a sequence of runs.
Fields§
§unmodelled: Vec<String>Schemas in the contract that are neither modelled nor allow-listed.
stale: Vec<String>Schemas named by a table that the contract does not have.
contradictory: Vec<String>Schemas both modelled and allow-listed.
disagreements: Vec<String>Ways a model disagreed with the schema it claims.
Implementations§
Trait Implementations§
Source§impl Debug for SchemaReport
impl Debug for SchemaReport
Source§impl Default for SchemaReport
impl Default for SchemaReport
Source§fn default() -> SchemaReport
fn default() -> SchemaReport
Returns the “default value” for a type. Read more
Source§impl Display for SchemaReport
impl Display for SchemaReport
impl Eq for SchemaReport
Source§impl PartialEq for SchemaReport
impl PartialEq for SchemaReport
impl StructuralPartialEq for SchemaReport
Auto Trait Implementations§
impl Freeze for SchemaReport
impl RefUnwindSafe for SchemaReport
impl Send for SchemaReport
impl Sync for SchemaReport
impl Unpin for SchemaReport
impl UnsafeUnpin for SchemaReport
impl UnwindSafe for SchemaReport
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.