pub struct ActOptions<'a> {
pub criteria: Option<&'a [(&'a str, &'a str)]>,
pub evidence: bool,
pub defer_action: Option<&'a str>,
pub max_error: Option<f64>,
}Expand description
Act options. Omitted criteria use true/false outcomes.
Fields§
§criteria: Option<&'a [(&'a str, &'a str)]>Named outcomes, in request order.
evidence: boolRequest supporting spans.
defer_action: Option<&'a str>Action to defer to, which must exist in costs.
max_error: Option<f64>Certified error target; calibration capability belongs to the model.
Trait Implementations§
Source§impl<'a> Clone for ActOptions<'a>
impl<'a> Clone for ActOptions<'a>
impl<'a> Copy for ActOptions<'a>
Source§impl<'a> Debug for ActOptions<'a>
impl<'a> Debug for ActOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for ActOptions<'a>
impl<'a> RefUnwindSafe for ActOptions<'a>
impl<'a> Send for ActOptions<'a>
impl<'a> Sync for ActOptions<'a>
impl<'a> Unpin for ActOptions<'a>
impl<'a> UnsafeUnpin for ActOptions<'a>
impl<'a> UnwindSafe for ActOptions<'a>
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