ReferenceSdkRustTypes
DecisionNoulAnswer
Rust struct goodmem::models::DecisionNoulAnswer: declaration, fields or variants, and implementations.
Struct DecisionNoulAnswer
goodmem::models::DecisionNoulAnswer
Probability that the proposition is true.
pub struct DecisionNoulAnswer {
pub probability_true: f64,
}Fields
probability_true
pub probability_true: f64
Probability that the statement is true. Your application decides what threshold to use.
Wire name: probabilityTrue.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for DecisionNoulAnswerimpl std::fmt::Debug for DecisionNoulAnswer