pub enum RiskAssessmentPredictionProbability {
Decimal(f64),
Range(Range),
}
Expand description
Choice of types for the probability[x] field in RiskAssessmentPrediction
Variants§
Trait Implementations§
Source§impl Clone for RiskAssessmentPredictionProbability
impl Clone for RiskAssessmentPredictionProbability
Source§fn clone(&self) -> RiskAssessmentPredictionProbability
fn clone(&self) -> RiskAssessmentPredictionProbability
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<'de> Deserialize<'de> for RiskAssessmentPredictionProbability
impl<'de> Deserialize<'de> for RiskAssessmentPredictionProbability
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 RiskAssessmentPredictionProbability
impl PartialEq for RiskAssessmentPredictionProbability
Source§fn eq(&self, other: &RiskAssessmentPredictionProbability) -> bool
fn eq(&self, other: &RiskAssessmentPredictionProbability) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RiskAssessmentPredictionProbability
Auto Trait Implementations§
impl Freeze for RiskAssessmentPredictionProbability
impl RefUnwindSafe for RiskAssessmentPredictionProbability
impl Send for RiskAssessmentPredictionProbability
impl Sync for RiskAssessmentPredictionProbability
impl Unpin for RiskAssessmentPredictionProbability
impl UnwindSafe for RiskAssessmentPredictionProbability
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