pub struct DecisionAnswer {
pub value: DecisionValue,
pub provider_confidence: Option<ProviderConfidence>,
}Expand description
An answer and separate, optional provider confidence.
Fields§
§value: DecisionValueThe estimate for the matching question.
provider_confidence: Option<ProviderConfidence>Provider-specific confidence, distinct from answer probabilities.
Trait Implementations§
Source§impl Clone for DecisionAnswer
impl Clone for DecisionAnswer
Source§impl Debug for DecisionAnswer
impl Debug for DecisionAnswer
Source§impl<'de> Deserialize<'de> for DecisionAnswer
impl<'de> Deserialize<'de> for DecisionAnswer
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 DecisionAnswer
impl PartialEq for DecisionAnswer
Source§impl Serialize for DecisionAnswer
impl Serialize for DecisionAnswer
impl StructuralPartialEq for DecisionAnswer
Auto Trait Implementations§
impl Forget for DecisionAnswer
impl Freeze for DecisionAnswer
impl Move for DecisionAnswer
impl RefUnwindSafe for DecisionAnswer
impl Send for DecisionAnswer
impl Sync for DecisionAnswer
impl Unpin for DecisionAnswer
impl UnsafeUnpin for DecisionAnswer
impl UnwindSafe for DecisionAnswer
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