pub struct AssertSpec {
pub signal: String,
pub instance: Option<String>,
pub eq: Option<Value>,
pub gt: Option<f64>,
pub lt: Option<f64>,
pub gte: Option<f64>,
pub lte: Option<f64>,
pub approx: Option<f64>,
pub tolerance: Option<f64>,
}Fields§
§signal: String§instance: Option<String>§eq: Option<Value>§gt: Option<f64>§lt: Option<f64>§gte: Option<f64>§lte: Option<f64>§approx: Option<f64>§tolerance: Option<f64>Trait Implementations§
Source§impl Clone for AssertSpec
impl Clone for AssertSpec
Source§fn clone(&self) -> AssertSpec
fn clone(&self) -> AssertSpec
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 AssertSpec
impl Debug for AssertSpec
Source§impl<'de> Deserialize<'de> for AssertSpec
impl<'de> Deserialize<'de> for AssertSpec
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 AssertSpec
impl RefUnwindSafe for AssertSpec
impl Send for AssertSpec
impl Sync for AssertSpec
impl Unpin for AssertSpec
impl UnsafeUnpin for AssertSpec
impl UnwindSafe for AssertSpec
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