pub struct DecisionOption {
pub name: String,
pub description: Option<String>,
pub scores: BTreeMap<String, f64>,
pub model_scores: BTreeMap<String, f64>,
pub evidence_confidence: f64,
pub hard_blocks: Vec<String>,
pub reversible: bool,
}Fields§
§name: String§description: Option<String>Optional free-text description; a decision engine can estimate missing criteria from it.
scores: BTreeMap<String, f64>§model_scores: BTreeMap<String, f64>Scores estimated by a decision engine. Used for ranking, never for coverage.
evidence_confidence: f64§hard_blocks: Vec<String>§reversible: boolTrait Implementations§
Source§impl Clone for DecisionOption
impl Clone for DecisionOption
Source§impl Debug for DecisionOption
impl Debug for DecisionOption
Source§impl<'de> Deserialize<'de> for DecisionOption
impl<'de> Deserialize<'de> for DecisionOption
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 DecisionOption
impl RefUnwindSafe for DecisionOption
impl Send for DecisionOption
impl Sync for DecisionOption
impl Unpin for DecisionOption
impl UnsafeUnpin for DecisionOption
impl UnwindSafe for DecisionOption
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