pub struct YamlCriterion {
pub id: String,
pub name: String,
pub metric: String,
pub threshold: f64,
pub condition: String,
pub severity: String,
}Expand description
Falsification criterion from YAML.
Fields§
§id: String§name: String§metric: String§threshold: f64§condition: String§severity: StringTrait Implementations§
Source§impl Clone for YamlCriterion
impl Clone for YamlCriterion
Source§fn clone(&self) -> YamlCriterion
fn clone(&self) -> YamlCriterion
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 YamlCriterion
impl Debug for YamlCriterion
Source§impl<'de> Deserialize<'de> for YamlCriterion
impl<'de> Deserialize<'de> for YamlCriterion
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 YamlCriterion
impl RefUnwindSafe for YamlCriterion
impl Send for YamlCriterion
impl Sync for YamlCriterion
impl Unpin for YamlCriterion
impl UnsafeUnpin for YamlCriterion
impl UnwindSafe for YamlCriterion
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