#[non_exhaustive]pub struct AnomalyReportedTimeRange {
pub open_time: DateTime,
pub close_time: Option<DateTime>,
}
Expand description
A time range that specifies when DevOps Guru opens and then closes an anomaly. This is different from AnomalyTimeRange
, which specifies the time range when DevOps Guru actually observes the anomalous behavior.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.open_time: DateTime
The time when an anomaly is opened.
close_time: Option<DateTime>
The time when an anomaly is closed.
Implementations§
source§impl AnomalyReportedTimeRange
impl AnomalyReportedTimeRange
sourcepub fn builder() -> AnomalyReportedTimeRangeBuilder
pub fn builder() -> AnomalyReportedTimeRangeBuilder
Creates a new builder-style object to manufacture AnomalyReportedTimeRange
.
Trait Implementations§
source§impl Clone for AnomalyReportedTimeRange
impl Clone for AnomalyReportedTimeRange
source§fn clone(&self) -> AnomalyReportedTimeRange
fn clone(&self) -> AnomalyReportedTimeRange
Returns a copy 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 AnomalyReportedTimeRange
impl Debug for AnomalyReportedTimeRange
source§impl PartialEq for AnomalyReportedTimeRange
impl PartialEq for AnomalyReportedTimeRange
source§fn eq(&self, other: &AnomalyReportedTimeRange) -> bool
fn eq(&self, other: &AnomalyReportedTimeRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnomalyReportedTimeRange
Auto Trait Implementations§
impl RefUnwindSafe for AnomalyReportedTimeRange
impl Send for AnomalyReportedTimeRange
impl Sync for AnomalyReportedTimeRange
impl Unpin for AnomalyReportedTimeRange
impl UnwindSafe for AnomalyReportedTimeRange
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
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>
Creates a shared type from an unshared type.