pub struct ConditionResult {
pub condition: Condition,
pub passed: bool,
pub actual_value: f64,
}Expand description
Result of evaluating a single condition.
Fields§
§condition: ConditionThe condition that was evaluated.
passed: boolWhether the condition passed.
actual_value: f64The actual observed value.
Trait Implementations§
Source§impl Clone for ConditionResult
impl Clone for ConditionResult
Source§fn clone(&self) -> ConditionResult
fn clone(&self) -> ConditionResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConditionResult
impl RefUnwindSafe for ConditionResult
impl Send for ConditionResult
impl Sync for ConditionResult
impl Unpin for ConditionResult
impl UnsafeUnpin for ConditionResult
impl UnwindSafe for ConditionResult
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