pub struct Probability {
pub average: Option<f32>,
pub variance: Option<f32>,
pub min: Option<f32>,
}Fields§
§average: Option<f32>Average confidence
variance: Option<f32>Variance of confidence
min: Option<f32>Minimum confidence
Trait Implementations§
Source§impl Clone for Probability
impl Clone for Probability
Source§fn clone(&self) -> Probability
fn clone(&self) -> Probability
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 moreSource§impl Debug for Probability
impl Debug for Probability
Source§impl<'de> Deserialize<'de> for Probability
impl<'de> Deserialize<'de> for Probability
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 Serialize for Probability
impl Serialize for Probability
Source§impl Validate for Probability
impl Validate for Probability
Source§impl<'v_a> ValidateArgs<'v_a> for Probability
impl<'v_a> ValidateArgs<'v_a> for Probability
Auto Trait Implementations§
impl Freeze for Probability
impl RefUnwindSafe for Probability
impl Send for Probability
impl Sync for Probability
impl Unpin for Probability
impl UnsafeUnpin for Probability
impl UnwindSafe for Probability
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