pub struct GateResult {
pub gate_name: String,
pub metrics: Vec<MetricResult>,
pub pass_count: usize,
pub fail_count: usize,
pub unchecked_count: usize,
}Expand description
Overall result of a benchmark gate evaluation.
Fields§
§gate_name: StringGate name.
metrics: Vec<MetricResult>Per-metric results (sorted by metric name).
pass_count: usizeNumber of metrics that passed.
fail_count: usizeNumber of metrics that failed.
unchecked_count: usizeNumber of metrics with no threshold (unchecked).
Implementations§
Trait Implementations§
Source§impl Clone for GateResult
impl Clone for GateResult
Source§fn clone(&self) -> GateResult
fn clone(&self) -> GateResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GateResult
impl RefUnwindSafe for GateResult
impl Send for GateResult
impl Sync for GateResult
impl Unpin for GateResult
impl UnsafeUnpin for GateResult
impl UnwindSafe for GateResult
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