#[non_exhaustive]pub struct ProfileTimeBuilder { /* private fields */ }
Expand description
A builder for ProfileTime
.
Implementations§
source§impl ProfileTimeBuilder
impl ProfileTimeBuilder
sourcepub fn start(self, input: DateTime) -> Self
pub fn start(self, input: DateTime) -> Self
The start time of a profile. It 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 set_start(self, input: Option<DateTime>) -> Self
pub fn set_start(self, input: Option<DateTime>) -> Self
The start time of a profile. It 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 build(self) -> ProfileTime
pub fn build(self) -> ProfileTime
Consumes the builder and constructs a ProfileTime
.
Trait Implementations§
source§impl Clone for ProfileTimeBuilder
impl Clone for ProfileTimeBuilder
source§fn clone(&self) -> ProfileTimeBuilder
fn clone(&self) -> ProfileTimeBuilder
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 ProfileTimeBuilder
impl Debug for ProfileTimeBuilder
source§impl Default for ProfileTimeBuilder
impl Default for ProfileTimeBuilder
source§fn default() -> ProfileTimeBuilder
fn default() -> ProfileTimeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ProfileTimeBuilder> for ProfileTimeBuilder
impl PartialEq<ProfileTimeBuilder> for ProfileTimeBuilder
source§fn eq(&self, other: &ProfileTimeBuilder) -> bool
fn eq(&self, other: &ProfileTimeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.