pub struct AnomalyInstance {
pub end_time: Option<f64>,
pub id: String,
pub start_time: f64,
pub user_feedback: Option<UserFeedback>,
}Expand description
The specific duration in which the metric is flagged as anomalous.
Fields§
§end_time: Option<f64>The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
id: StringThe universally unique identifier (UUID) of an instance of an anomaly in a metric.
start_time: f64The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
user_feedback: Option<UserFeedback>Feedback type on a specific instance of anomaly submitted by the user.
Trait Implementations§
Source§impl Clone for AnomalyInstance
impl Clone for AnomalyInstance
Source§fn clone(&self) -> AnomalyInstance
fn clone(&self) -> AnomalyInstance
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 AnomalyInstance
impl Debug for AnomalyInstance
Source§impl Default for AnomalyInstance
impl Default for AnomalyInstance
Source§fn default() -> AnomalyInstance
fn default() -> AnomalyInstance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnomalyInstance
impl<'de> Deserialize<'de> for AnomalyInstance
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 AnomalyInstance
impl PartialEq for AnomalyInstance
impl StructuralPartialEq for AnomalyInstance
Auto Trait Implementations§
impl Freeze for AnomalyInstance
impl RefUnwindSafe for AnomalyInstance
impl Send for AnomalyInstance
impl Sync for AnomalyInstance
impl Unpin for AnomalyInstance
impl UnwindSafe for AnomalyInstance
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