#[non_exhaustive]pub struct Coverage {
pub release: String,
pub entity_rules: RuleCount,
pub type_rules: RuleCount,
pub global_rules: RuleCount,
pub functions: RuleCount,
pub derived: RuleCount,
pub not_evaluable: Vec<(String, String)>,
}Expand description
The evaluator’s coverage of one release.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.release: StringThe schema name.
entity_rules: RuleCountEntity WHERE rules.
type_rules: RuleCountDefined-type WHERE rules.
global_rules: RuleCountGlobal RULEs (counted once each, whatever their WHERE clauses).
functions: RuleCountFUNCTIONs.
derived: RuleCountDERIVE attributes.
not_evaluable: Vec<(String, String)>Every declaration that is not evaluable, with the construct that stops it, sorted.
Trait Implementations§
impl Eq for Coverage
impl StructuralPartialEq for Coverage
Auto Trait Implementations§
impl Freeze for Coverage
impl RefUnwindSafe for Coverage
impl Send for Coverage
impl Sync for Coverage
impl Unpin for Coverage
impl UnsafeUnpin for Coverage
impl UnwindSafe for Coverage
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