pub struct ProbeCompareObservation {
pub name: String,
pub parent: Option<String>,
pub scope: Option<ProbeScope>,
pub baseline_count: u32,
pub current_count: u32,
pub deltas: BTreeMap<String, Delta>,
pub status: MetricStatus,
pub reasons: Vec<String>,
}Expand description
Comparison evidence for one named probe.
Fields§
§name: String§parent: Option<String>§scope: Option<ProbeScope>§baseline_count: u32§current_count: u32§deltas: BTreeMap<String, Delta>§status: MetricStatus§reasons: Vec<String>Trait Implementations§
Source§impl Clone for ProbeCompareObservation
impl Clone for ProbeCompareObservation
Source§fn clone(&self) -> ProbeCompareObservation
fn clone(&self) -> ProbeCompareObservation
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 ProbeCompareObservation
impl Debug for ProbeCompareObservation
Source§impl<'de> Deserialize<'de> for ProbeCompareObservation
impl<'de> Deserialize<'de> for ProbeCompareObservation
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 JsonSchema for ProbeCompareObservation
impl JsonSchema for ProbeCompareObservation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ProbeCompareObservation
impl PartialEq for ProbeCompareObservation
Source§fn eq(&self, other: &ProbeCompareObservation) -> bool
fn eq(&self, other: &ProbeCompareObservation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProbeCompareObservation
impl Serialize for ProbeCompareObservation
impl StructuralPartialEq for ProbeCompareObservation
Auto Trait Implementations§
impl Freeze for ProbeCompareObservation
impl RefUnwindSafe for ProbeCompareObservation
impl Send for ProbeCompareObservation
impl Sync for ProbeCompareObservation
impl Unpin for ProbeCompareObservation
impl UnsafeUnpin for ProbeCompareObservation
impl UnwindSafe for ProbeCompareObservation
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