pub struct SloObjectiveResult {
pub sli: Option<String>,
pub comparator: Option<String>,
pub threshold: Option<f64>,
pub observed_value: Option<f64>,
pub result: Option<String>,
pub detail: Option<String>,
}Expand description
The evaluated result of a single objective. Maps to the SloObjectiveResult
schema.
Fields§
§sli: Option<String>§comparator: Option<String>§threshold: Option<f64>§observed_value: Option<f64>§result: Option<String>PASS, FAIL or INCONCLUSIVE.
detail: Option<String>Trait Implementations§
Source§impl Clone for SloObjectiveResult
impl Clone for SloObjectiveResult
Source§fn clone(&self) -> SloObjectiveResult
fn clone(&self) -> SloObjectiveResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SloObjectiveResult
impl Debug for SloObjectiveResult
Source§impl<'de> Deserialize<'de> for SloObjectiveResult
impl<'de> Deserialize<'de> for SloObjectiveResult
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
Source§impl PartialEq for SloObjectiveResult
impl PartialEq for SloObjectiveResult
Source§fn eq(&self, other: &SloObjectiveResult) -> bool
fn eq(&self, other: &SloObjectiveResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SloObjectiveResult
impl Serialize for SloObjectiveResult
impl StructuralPartialEq for SloObjectiveResult
Auto Trait Implementations§
impl Freeze for SloObjectiveResult
impl RefUnwindSafe for SloObjectiveResult
impl Send for SloObjectiveResult
impl Sync for SloObjectiveResult
impl Unpin for SloObjectiveResult
impl UnsafeUnpin for SloObjectiveResult
impl UnwindSafe for SloObjectiveResult
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