Struct cargo_culture_kit::OutcomeStats[][src]

pub struct OutcomeStats {
    pub success_count: usize,
    pub fail_count: usize,
    pub undetermined_count: usize,
}

Summary of result statistics generated from aggregating RuleOutcomes results for multiple Rule evaluations

Fields

The number of RuleOutcome::Success instances observed

The number of RuleOutcome::Failure instances observed

The number of RuleOutcome::Undetermined instances observed

Trait Implementations

impl ExitCode for OutcomeStats
[src]

The

impl IsSuccess for OutcomeStats
[src]

Convenience function to answer the simple question "is everything all right?" while providing no answer at all to the useful question "why or why not?" Read more

Panic if is_success() returns false for this instance

impl<T> From<T> for OutcomeStats where
    T: Borrow<OutcomesByDescription>, 
[src]

Performs the conversion.

impl Clone for OutcomeStats
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OutcomeStats
[src]

Formats the value using the given formatter. Read more

impl Default for OutcomeStats
[src]

Returns the "default value" for a type. Read more

impl PartialEq for OutcomeStats
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> From<&'a OutcomeStats> for RuleOutcome
[src]

Performs the conversion.

Auto Trait Implementations