pub struct BaselineMatch {
pub entries: usize,
pub matched: usize,
}Expand description
Baseline match statistics. Shows how many baseline entries existed and how
many matched current issues. Useful for detecting stale baselines
programmatically. Only present in CheckOutput when --baseline is used.
Fields§
§entries: usizeTotal number of entries in the loaded baseline file.
matched: usizeNumber of baseline entries that matched current issues and were filtered.
Trait Implementations§
Source§impl Clone for BaselineMatch
impl Clone for BaselineMatch
Source§fn clone(&self) -> BaselineMatch
fn clone(&self) -> BaselineMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BaselineMatch
Source§impl Debug for BaselineMatch
impl Debug for BaselineMatch
Source§impl Default for BaselineMatch
impl Default for BaselineMatch
Source§fn default() -> BaselineMatch
fn default() -> BaselineMatch
Returns the “default value” for a type. Read more
Source§impl JsonSchema for BaselineMatch
impl JsonSchema for BaselineMatch
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for BaselineMatch
impl Serialize for BaselineMatch
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BaselineMatch
impl RefUnwindSafe for BaselineMatch
impl Send for BaselineMatch
impl Sync for BaselineMatch
impl Unpin for BaselineMatch
impl UnsafeUnpin for BaselineMatch
impl UnwindSafe for BaselineMatch
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