Struct aws_sdk_codeguruprofiler::model::AnomalyInstance
source · [−]#[non_exhaustive]pub struct AnomalyInstance {
pub id: Option<String>,
pub start_time: Option<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: Option<String>
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
start_time: Option<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.
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
sourceimpl AnomalyInstance
impl AnomalyInstance
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&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.
sourceimpl AnomalyInstance
impl AnomalyInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AnomalyInstance
Trait Implementations
sourceimpl Clone for AnomalyInstance
impl Clone for AnomalyInstance
sourcefn clone(&self) -> AnomalyInstance
fn clone(&self) -> AnomalyInstance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AnomalyInstance
impl Debug for AnomalyInstance
sourceimpl PartialEq<AnomalyInstance> for AnomalyInstance
impl PartialEq<AnomalyInstance> for AnomalyInstance
sourcefn eq(&self, other: &AnomalyInstance) -> bool
fn eq(&self, other: &AnomalyInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AnomalyInstance) -> bool
fn ne(&self, other: &AnomalyInstance) -> bool
This method tests for !=
.
impl StructuralPartialEq for AnomalyInstance
Auto Trait Implementations
impl RefUnwindSafe for AnomalyInstance
impl Send for AnomalyInstance
impl Sync for AnomalyInstance
impl Unpin for AnomalyInstance
impl UnwindSafe for AnomalyInstance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more