#[non_exhaustive]pub struct CriterionOutcome {
pub condition: String,
pub passed: bool,
}Expand description
One criterion, and whether it held.
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.condition: StringThe condition as the description wrote it.
passed: boolWhether it held.
Trait Implementations§
Source§impl Clone for CriterionOutcome
impl Clone for CriterionOutcome
Source§fn clone(&self) -> CriterionOutcome
fn clone(&self) -> CriterionOutcome
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 moreSource§impl Debug for CriterionOutcome
impl Debug for CriterionOutcome
impl Eq for CriterionOutcome
Source§impl PartialEq for CriterionOutcome
impl PartialEq for CriterionOutcome
impl StructuralPartialEq for CriterionOutcome
Auto Trait Implementations§
impl Freeze for CriterionOutcome
impl RefUnwindSafe for CriterionOutcome
impl Send for CriterionOutcome
impl Sync for CriterionOutcome
impl Unpin for CriterionOutcome
impl UnsafeUnpin for CriterionOutcome
impl UnwindSafe for CriterionOutcome
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