#[non_exhaustive]pub struct ProfilingStatusBuilder { /* private fields */ }
Expand description
A builder for ProfilingStatus
.
Implementations§
source§impl ProfilingStatusBuilder
impl ProfilingStatusBuilder
sourcepub fn latest_agent_profile_reported_at(self, input: DateTime) -> Self
pub fn latest_agent_profile_reported_at(self, input: DateTime) -> Self
The date and time when the most recent profile was received. Specify 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 set_latest_agent_profile_reported_at(
self,
input: Option<DateTime>,
) -> Self
pub fn set_latest_agent_profile_reported_at( self, input: Option<DateTime>, ) -> Self
The date and time when the most recent profile was received. Specify 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 get_latest_agent_profile_reported_at(&self) -> &Option<DateTime>
pub fn get_latest_agent_profile_reported_at(&self) -> &Option<DateTime>
The date and time when the most recent profile was received. Specify 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 latest_aggregated_profile(self, input: AggregatedProfileTime) -> Self
pub fn latest_aggregated_profile(self, input: AggregatedProfileTime) -> Self
An AggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.
sourcepub fn set_latest_aggregated_profile(
self,
input: Option<AggregatedProfileTime>,
) -> Self
pub fn set_latest_aggregated_profile( self, input: Option<AggregatedProfileTime>, ) -> Self
An AggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.
sourcepub fn get_latest_aggregated_profile(&self) -> &Option<AggregatedProfileTime>
pub fn get_latest_aggregated_profile(&self) -> &Option<AggregatedProfileTime>
An AggregatedProfileTime
object that contains the aggregation period and start time for an aggregated profile.
sourcepub fn latest_agent_orchestrated_at(self, input: DateTime) -> Self
pub fn latest_agent_orchestrated_at(self, input: DateTime) -> Self
The date and time when the profiling agent most recently pinged back. Specify 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 set_latest_agent_orchestrated_at(self, input: Option<DateTime>) -> Self
pub fn set_latest_agent_orchestrated_at(self, input: Option<DateTime>) -> Self
The date and time when the profiling agent most recently pinged back. Specify 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 get_latest_agent_orchestrated_at(&self) -> &Option<DateTime>
pub fn get_latest_agent_orchestrated_at(&self) -> &Option<DateTime>
The date and time when the profiling agent most recently pinged back. Specify 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 build(self) -> ProfilingStatus
pub fn build(self) -> ProfilingStatus
Consumes the builder and constructs a ProfilingStatus
.
Trait Implementations§
source§impl Clone for ProfilingStatusBuilder
impl Clone for ProfilingStatusBuilder
source§fn clone(&self) -> ProfilingStatusBuilder
fn clone(&self) -> ProfilingStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProfilingStatusBuilder
impl Debug for ProfilingStatusBuilder
source§impl Default for ProfilingStatusBuilder
impl Default for ProfilingStatusBuilder
source§fn default() -> ProfilingStatusBuilder
fn default() -> ProfilingStatusBuilder
source§impl PartialEq for ProfilingStatusBuilder
impl PartialEq for ProfilingStatusBuilder
impl StructuralPartialEq for ProfilingStatusBuilder
Auto Trait Implementations§
impl Freeze for ProfilingStatusBuilder
impl RefUnwindSafe for ProfilingStatusBuilder
impl Send for ProfilingStatusBuilder
impl Sync for ProfilingStatusBuilder
impl Unpin for ProfilingStatusBuilder
impl UnwindSafe for ProfilingStatusBuilder
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