pub struct ConditionResponse {
pub state: String,
pub expression: Option<String>,
pub value: Option<bool>,
pub reason: Option<String>,
}Expand description
Outcome of a branch condition as recorded by the planner.
Fields§
§state: StringCondition state: evaluated, skipped or unevaluable.
expression: Option<String>Expression the handler declared, when the planner knows one.
value: Option<bool>What the expression evaluated to, for an evaluated condition.
reason: Option<String>Why the step is skipped, or why the condition cannot be evaluated.
Trait Implementations§
Source§impl Debug for ConditionResponse
impl Debug for ConditionResponse
Source§impl From<ConditionResult> for ConditionResponse
impl From<ConditionResult> for ConditionResponse
Source§fn from(condition: ConditionResult) -> Self
fn from(condition: ConditionResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConditionResponse
impl RefUnwindSafe for ConditionResponse
impl Send for ConditionResponse
impl Sync for ConditionResponse
impl Unpin for ConditionResponse
impl UnsafeUnpin for ConditionResponse
impl UnwindSafe for ConditionResponse
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