pub struct LossSampleCounts {
pub allow_false_negative: usize,
pub validate_cost: usize,
pub reject_false_positive: usize,
}Expand description
Sample counts for each loss category.
Fields§
§allow_false_negative: usize§validate_cost: usize§reject_false_positive: usizeTrait Implementations§
Source§impl Clone for LossSampleCounts
impl Clone for LossSampleCounts
Source§fn clone(&self) -> LossSampleCounts
fn clone(&self) -> LossSampleCounts
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 LossSampleCounts
Source§impl Debug for LossSampleCounts
impl Debug for LossSampleCounts
Source§impl Default for LossSampleCounts
impl Default for LossSampleCounts
Source§fn default() -> LossSampleCounts
fn default() -> LossSampleCounts
Returns the “default value” for a type. Read more
impl Eq for LossSampleCounts
Source§impl PartialEq for LossSampleCounts
impl PartialEq for LossSampleCounts
Source§fn eq(&self, other: &LossSampleCounts) -> bool
fn eq(&self, other: &LossSampleCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LossSampleCounts
Auto Trait Implementations§
impl Freeze for LossSampleCounts
impl RefUnwindSafe for LossSampleCounts
impl Send for LossSampleCounts
impl Sync for LossSampleCounts
impl Unpin for LossSampleCounts
impl UnsafeUnpin for LossSampleCounts
impl UnwindSafe for LossSampleCounts
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