#[non_exhaustive]pub struct ExperimentExecutionBuilder { /* private fields */ }
Expand description
A builder for ExperimentExecution
.
Implementations§
source§impl ExperimentExecutionBuilder
impl ExperimentExecutionBuilder
sourcepub fn started_time(self, input: DateTime) -> Self
pub fn started_time(self, input: DateTime) -> Self
The date and time that the experiment started.
sourcepub fn set_started_time(self, input: Option<DateTime>) -> Self
pub fn set_started_time(self, input: Option<DateTime>) -> Self
The date and time that the experiment started.
sourcepub fn get_started_time(&self) -> &Option<DateTime>
pub fn get_started_time(&self) -> &Option<DateTime>
The date and time that the experiment started.
sourcepub fn ended_time(self, input: DateTime) -> Self
pub fn ended_time(self, input: DateTime) -> Self
The date and time that the experiment ended.
sourcepub fn set_ended_time(self, input: Option<DateTime>) -> Self
pub fn set_ended_time(self, input: Option<DateTime>) -> Self
The date and time that the experiment ended.
sourcepub fn get_ended_time(&self) -> &Option<DateTime>
pub fn get_ended_time(&self) -> &Option<DateTime>
The date and time that the experiment ended.
sourcepub fn build(self) -> ExperimentExecution
pub fn build(self) -> ExperimentExecution
Consumes the builder and constructs a ExperimentExecution
.
Trait Implementations§
source§impl Clone for ExperimentExecutionBuilder
impl Clone for ExperimentExecutionBuilder
source§fn clone(&self) -> ExperimentExecutionBuilder
fn clone(&self) -> ExperimentExecutionBuilder
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 ExperimentExecutionBuilder
impl Debug for ExperimentExecutionBuilder
source§impl Default for ExperimentExecutionBuilder
impl Default for ExperimentExecutionBuilder
source§fn default() -> ExperimentExecutionBuilder
fn default() -> ExperimentExecutionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExperimentExecutionBuilder
impl PartialEq for ExperimentExecutionBuilder
source§fn eq(&self, other: &ExperimentExecutionBuilder) -> bool
fn eq(&self, other: &ExperimentExecutionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExperimentExecutionBuilder
Auto Trait Implementations§
impl Freeze for ExperimentExecutionBuilder
impl RefUnwindSafe for ExperimentExecutionBuilder
impl Send for ExperimentExecutionBuilder
impl Sync for ExperimentExecutionBuilder
impl Unpin for ExperimentExecutionBuilder
impl UnwindSafe for ExperimentExecutionBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.