Skip to main content

report

Function report 

Source
pub fn report(modelled: &[Entry], unmodelled: Table<'_>) -> Result<SchemaReport>
Expand description

Compare this crate’s models against the vendored contract’s schemas.

Returns the report whether or not it is clean; check is the assertion form.

§Errors

Fails only when the vendored contract cannot be read at all, which this crate’s contract tests catch long before.