pub struct SloVerdict {
pub name: Option<String>,
pub result: Option<String>,
pub window_from_epoch_millis: Option<u64>,
pub window_to_epoch_millis: Option<u64>,
pub sample_count: Option<u64>,
pub objective_results: Vec<SloObjectiveResult>,
}Expand description
The overall verdict of an SLO evaluation. Maps to the SloVerdict schema —
the response of PUT /mockserver/verifySLO.
Fields§
§name: Option<String>§result: Option<String>PASS, FAIL or INCONCLUSIVE.
window_from_epoch_millis: Option<u64>§window_to_epoch_millis: Option<u64>§sample_count: Option<u64>§objective_results: Vec<SloObjectiveResult>Implementations§
Trait Implementations§
Source§impl Clone for SloVerdict
impl Clone for SloVerdict
Source§fn clone(&self) -> SloVerdict
fn clone(&self) -> SloVerdict
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 SloVerdict
impl Debug for SloVerdict
Source§impl Default for SloVerdict
impl Default for SloVerdict
Source§fn default() -> SloVerdict
fn default() -> SloVerdict
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SloVerdict
impl<'de> Deserialize<'de> for SloVerdict
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 SloVerdict
impl PartialEq for SloVerdict
Source§fn eq(&self, other: &SloVerdict) -> bool
fn eq(&self, other: &SloVerdict) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SloVerdict
impl Serialize for SloVerdict
impl StructuralPartialEq for SloVerdict
Auto Trait Implementations§
impl Freeze for SloVerdict
impl RefUnwindSafe for SloVerdict
impl Send for SloVerdict
impl Sync for SloVerdict
impl Unpin for SloVerdict
impl UnsafeUnpin for SloVerdict
impl UnwindSafe for SloVerdict
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