pub struct Condition {
pub field: String,
pub operator: ConditionOperator,
pub prompt: Option<String>,
pub threshold: Option<Score>,
}Expand description
A decision tree condition.
Fields§
§field: String§operator: ConditionOperator§prompt: Option<String>§threshold: Option<Score>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnsafeUnpin for Condition
impl UnwindSafe for Condition
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