#[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 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>
Creates a shared type from an unshared type.