pub struct DecisionAlternative {
pub option: String,
pub score: f64,
pub rejected_reason: String,
}Expand description
DecisionAlternative - An alternative option that was not chosen
Fields§
§option: StringName/ID of the alternative
score: f64Confidence score (0-1)
rejected_reason: StringWhy it was rejected
Trait Implementations§
Source§impl Clone for DecisionAlternative
impl Clone for DecisionAlternative
Source§fn clone(&self) -> DecisionAlternative
fn clone(&self) -> DecisionAlternative
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 DecisionAlternative
impl Debug for DecisionAlternative
Source§impl<'de> Deserialize<'de> for DecisionAlternative
impl<'de> Deserialize<'de> for DecisionAlternative
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
Auto Trait Implementations§
impl Freeze for DecisionAlternative
impl RefUnwindSafe for DecisionAlternative
impl Send for DecisionAlternative
impl Sync for DecisionAlternative
impl Unpin for DecisionAlternative
impl UnsafeUnpin for DecisionAlternative
impl UnwindSafe for DecisionAlternative
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