#[non_exhaustive]pub struct AggregatedProfileTime {
pub start: Option<DateTime>,
pub period: Option<AggregationPeriod>,
}
Expand description
Specifies the aggregation period and aggregation start time for an aggregated profile. An aggregated profile is used to collect posted agent profiles during an aggregation period. There are three possible aggregation periods (1 day, 1 hour, or 5 minutes).
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.start: Option<DateTime>
The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the period
property of the AggregatedProfileTime
object.
Specify start
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.
period: Option<AggregationPeriod>
The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
Implementations§
source§impl AggregatedProfileTime
impl AggregatedProfileTime
sourcepub fn start(&self) -> Option<&DateTime>
pub fn start(&self) -> Option<&DateTime>
The time that aggregation of posted agent profiles for a profiling group starts. The aggregation profile contains profiles posted by the agent starting at this time for an aggregation period specified by the period
property of the AggregatedProfileTime
object.
Specify start
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 period(&self) -> Option<&AggregationPeriod>
pub fn period(&self) -> Option<&AggregationPeriod>
The aggregation period. This indicates the period during which an aggregation profile collects posted agent profiles for a profiling group. Use one of three valid durations that are specified using the ISO 8601 format.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
source§impl AggregatedProfileTime
impl AggregatedProfileTime
sourcepub fn builder() -> AggregatedProfileTimeBuilder
pub fn builder() -> AggregatedProfileTimeBuilder
Creates a new builder-style object to manufacture AggregatedProfileTime
.
Trait Implementations§
source§impl Clone for AggregatedProfileTime
impl Clone for AggregatedProfileTime
source§fn clone(&self) -> AggregatedProfileTime
fn clone(&self) -> AggregatedProfileTime
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AggregatedProfileTime
impl Debug for AggregatedProfileTime
source§impl PartialEq for AggregatedProfileTime
impl PartialEq for AggregatedProfileTime
impl StructuralPartialEq for AggregatedProfileTime
Auto Trait Implementations§
impl Freeze for AggregatedProfileTime
impl RefUnwindSafe for AggregatedProfileTime
impl Send for AggregatedProfileTime
impl Sync for AggregatedProfileTime
impl Unpin for AggregatedProfileTime
impl UnwindSafe for AggregatedProfileTime
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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