pub struct GateCondition {
pub name: String,
pub description: String,
pub passed: bool,
pub actual: Option<String>,
pub expected: Option<String>,
}Expand description
Individual condition evaluated by gate
Fields§
§name: StringName of condition
description: StringDescription of what the condition checks
passed: boolWhether the condition passed
actual: Option<String>Actual value observed
expected: Option<String>Expected value for passing
Trait Implementations§
Source§impl Clone for GateCondition
impl Clone for GateCondition
Source§fn clone(&self) -> GateCondition
fn clone(&self) -> GateCondition
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 moreSource§impl Debug for GateCondition
impl Debug for GateCondition
Source§impl<'de> Deserialize<'de> for GateCondition
impl<'de> Deserialize<'de> for GateCondition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GateCondition
impl RefUnwindSafe for GateCondition
impl Send for GateCondition
impl Sync for GateCondition
impl Unpin for GateCondition
impl UnsafeUnpin for GateCondition
impl UnwindSafe for GateCondition
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