Struct aws_sdk_codeguruprofiler::types::AnomalyInstance
source · #[non_exhaustive]pub struct AnomalyInstance {
pub id: String,
pub start_time: DateTime,
pub end_time: Option<DateTime>,
pub user_feedback: Option<UserFeedback>,
}Expand description
The specific duration in which the metric is flagged as anomalous.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe universally unique identifier (UUID) of an instance of an anomaly in a metric.
start_time: DateTimeThe 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.
end_time: Option<DateTime>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.
user_feedback: Option<UserFeedback>Feedback type on a specific instance of anomaly submitted by the user.
Implementations§
source§impl AnomalyInstance
impl AnomalyInstance
sourcepub fn id(&self) -> &str
pub fn id(&self) -> &str
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
sourcepub fn start_time(&self) -> &DateTime
pub fn start_time(&self) -> &DateTime
The 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.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
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.
sourcepub fn user_feedback(&self) -> Option<&UserFeedback>
pub fn user_feedback(&self) -> Option<&UserFeedback>
Feedback type on a specific instance of anomaly submitted by the user.
source§impl AnomalyInstance
impl AnomalyInstance
sourcepub fn builder() -> AnomalyInstanceBuilder
pub fn builder() -> AnomalyInstanceBuilder
Creates a new builder-style object to manufacture AnomalyInstance.
Trait Implementations§
source§impl Clone for AnomalyInstance
impl Clone for AnomalyInstance
source§fn clone(&self) -> AnomalyInstance
fn clone(&self) -> AnomalyInstance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnomalyInstance
impl Debug for AnomalyInstance
source§impl PartialEq for AnomalyInstance
impl PartialEq for AnomalyInstance
source§fn eq(&self, other: &AnomalyInstance) -> bool
fn eq(&self, other: &AnomalyInstance) -> bool
self and other values to be equal, and is used
by ==.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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more