pub struct EvalOutcome {
pub rule_id: Option<String>,
pub plan: Vec<PlannedAction>,
pub warnings: Vec<EvalWarning>,
}Expand description
The result of evaluating a rule set with evaluate_plan: the matched
rule (if any), the planned outcomes, and any warnings.
Fields§
§rule_id: Option<String>Id of the first matching rule, or None when no rule matched.
plan: Vec<PlannedAction>Outcomes to execute, in rule action order.
warnings: Vec<EvalWarning>Non-fatal observations (unknown notify schemes, unroutable replies).
Implementations§
Trait Implementations§
Source§impl Clone for EvalOutcome
impl Clone for EvalOutcome
Source§fn clone(&self) -> EvalOutcome
fn clone(&self) -> EvalOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EvalOutcome
impl Debug for EvalOutcome
Source§impl Default for EvalOutcome
impl Default for EvalOutcome
Source§fn default() -> EvalOutcome
fn default() -> EvalOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EvalOutcome
impl RefUnwindSafe for EvalOutcome
impl Send for EvalOutcome
impl Sync for EvalOutcome
impl Unpin for EvalOutcome
impl UnsafeUnpin for EvalOutcome
impl UnwindSafe for EvalOutcome
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