pub struct AnomalyRef {
pub kind: String,
pub description: String,
}Expand description
Reference to an anomaly the cortex flagged that the planner should see.
Fields§
§kind: StringAnomaly kind: “stale_state”, “unexpected_window”, “missing_target”, “low_confidence”, …
description: StringHuman-readable description.
Trait Implementations§
Source§impl Clone for AnomalyRef
impl Clone for AnomalyRef
Source§fn clone(&self) -> AnomalyRef
fn clone(&self) -> AnomalyRef
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 AnomalyRef
impl Debug for AnomalyRef
Source§impl<'de> Deserialize<'de> for AnomalyRef
impl<'de> Deserialize<'de> for AnomalyRef
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 AnomalyRef
impl RefUnwindSafe for AnomalyRef
impl Send for AnomalyRef
impl Sync for AnomalyRef
impl Unpin for AnomalyRef
impl UnsafeUnpin for AnomalyRef
impl UnwindSafe for AnomalyRef
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