pub struct LossMatrix {
pub allow_false_negative: f64,
pub validate_cost: f64,
pub reject_false_positive: f64,
}Fields§
§allow_false_negative: f64False allow: we allowed an actually incompatible operation.
validate_cost: f64Validation cost regardless of compatibility.
reject_false_positive: f64False reject: we rejected a compatible operation.
Implementations§
Source§impl LossMatrix
impl LossMatrix
pub const fn strict_default() -> Self
pub const fn hardened_default() -> Self
Trait Implementations§
Source§impl Clone for LossMatrix
impl Clone for LossMatrix
Source§fn clone(&self) -> LossMatrix
fn clone(&self) -> LossMatrix
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 LossMatrix
Source§impl Debug for LossMatrix
impl Debug for LossMatrix
Source§impl<'de> Deserialize<'de> for LossMatrix
impl<'de> Deserialize<'de> for LossMatrix
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LossMatrix
impl PartialEq for LossMatrix
Source§fn eq(&self, other: &LossMatrix) -> bool
fn eq(&self, other: &LossMatrix) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LossMatrix
impl Serialize for LossMatrix
impl StructuralPartialEq for LossMatrix
Auto Trait Implementations§
impl Freeze for LossMatrix
impl RefUnwindSafe for LossMatrix
impl Send for LossMatrix
impl Sync for LossMatrix
impl Unpin for LossMatrix
impl UnsafeUnpin for LossMatrix
impl UnwindSafe for LossMatrix
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