#[non_exhaustive]pub struct TestExecutionSummaryBuilder { /* private fields */ }Expand description
A builder for TestExecutionSummary.
Implementations§
source§impl TestExecutionSummaryBuilder
impl TestExecutionSummaryBuilder
sourcepub fn test_execution_id(self, input: impl Into<String>) -> Self
pub fn test_execution_id(self, input: impl Into<String>) -> Self
The unique identifier of the test execution.
sourcepub fn set_test_execution_id(self, input: Option<String>) -> Self
pub fn set_test_execution_id(self, input: Option<String>) -> Self
The unique identifier of the test execution.
sourcepub fn get_test_execution_id(&self) -> &Option<String>
pub fn get_test_execution_id(&self) -> &Option<String>
The unique identifier of the test execution.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time at which the test execution was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time at which the test execution was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time at which the test execution was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time at which the test execution was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time at which the test execution was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time at which the test execution was last updated.
sourcepub fn test_execution_status(self, input: TestExecutionStatus) -> Self
pub fn test_execution_status(self, input: TestExecutionStatus) -> Self
The current status of the test execution.
sourcepub fn set_test_execution_status(
self,
input: Option<TestExecutionStatus>,
) -> Self
pub fn set_test_execution_status( self, input: Option<TestExecutionStatus>, ) -> Self
The current status of the test execution.
sourcepub fn get_test_execution_status(&self) -> &Option<TestExecutionStatus>
pub fn get_test_execution_status(&self) -> &Option<TestExecutionStatus>
The current status of the test execution.
sourcepub fn test_set_id(self, input: impl Into<String>) -> Self
pub fn test_set_id(self, input: impl Into<String>) -> Self
The unique identifier of the test set used in the test execution.
sourcepub fn set_test_set_id(self, input: Option<String>) -> Self
pub fn set_test_set_id(self, input: Option<String>) -> Self
The unique identifier of the test set used in the test execution.
sourcepub fn get_test_set_id(&self) -> &Option<String>
pub fn get_test_set_id(&self) -> &Option<String>
The unique identifier of the test set used in the test execution.
sourcepub fn test_set_name(self, input: impl Into<String>) -> Self
pub fn test_set_name(self, input: impl Into<String>) -> Self
The name of the test set used in the test execution.
sourcepub fn set_test_set_name(self, input: Option<String>) -> Self
pub fn set_test_set_name(self, input: Option<String>) -> Self
The name of the test set used in the test execution.
sourcepub fn get_test_set_name(&self) -> &Option<String>
pub fn get_test_set_name(&self) -> &Option<String>
The name of the test set used in the test execution.
sourcepub fn target(self, input: TestExecutionTarget) -> Self
pub fn target(self, input: TestExecutionTarget) -> Self
Contains information about the bot used for the test execution..
sourcepub fn set_target(self, input: Option<TestExecutionTarget>) -> Self
pub fn set_target(self, input: Option<TestExecutionTarget>) -> Self
Contains information about the bot used for the test execution..
sourcepub fn get_target(&self) -> &Option<TestExecutionTarget>
pub fn get_target(&self) -> &Option<TestExecutionTarget>
Contains information about the bot used for the test execution..
sourcepub fn api_mode(self, input: TestExecutionApiMode) -> Self
pub fn api_mode(self, input: TestExecutionApiMode) -> Self
Specifies whether the API mode for the test execution is streaming or non-streaming.
sourcepub fn set_api_mode(self, input: Option<TestExecutionApiMode>) -> Self
pub fn set_api_mode(self, input: Option<TestExecutionApiMode>) -> Self
Specifies whether the API mode for the test execution is streaming or non-streaming.
sourcepub fn get_api_mode(&self) -> &Option<TestExecutionApiMode>
pub fn get_api_mode(&self) -> &Option<TestExecutionApiMode>
Specifies whether the API mode for the test execution is streaming or non-streaming.
sourcepub fn test_execution_modality(self, input: TestExecutionModality) -> Self
pub fn test_execution_modality(self, input: TestExecutionModality) -> Self
Specifies whether the data used for the test execution is written or spoken.
sourcepub fn set_test_execution_modality(
self,
input: Option<TestExecutionModality>,
) -> Self
pub fn set_test_execution_modality( self, input: Option<TestExecutionModality>, ) -> Self
Specifies whether the data used for the test execution is written or spoken.
sourcepub fn get_test_execution_modality(&self) -> &Option<TestExecutionModality>
pub fn get_test_execution_modality(&self) -> &Option<TestExecutionModality>
Specifies whether the data used for the test execution is written or spoken.
sourcepub fn build(self) -> TestExecutionSummary
pub fn build(self) -> TestExecutionSummary
Consumes the builder and constructs a TestExecutionSummary.
Trait Implementations§
source§impl Clone for TestExecutionSummaryBuilder
impl Clone for TestExecutionSummaryBuilder
source§fn clone(&self) -> TestExecutionSummaryBuilder
fn clone(&self) -> TestExecutionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TestExecutionSummaryBuilder
impl Debug for TestExecutionSummaryBuilder
source§impl Default for TestExecutionSummaryBuilder
impl Default for TestExecutionSummaryBuilder
source§fn default() -> TestExecutionSummaryBuilder
fn default() -> TestExecutionSummaryBuilder
source§impl PartialEq for TestExecutionSummaryBuilder
impl PartialEq for TestExecutionSummaryBuilder
source§fn eq(&self, other: &TestExecutionSummaryBuilder) -> bool
fn eq(&self, other: &TestExecutionSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestExecutionSummaryBuilder
Auto Trait Implementations§
impl Freeze for TestExecutionSummaryBuilder
impl RefUnwindSafe for TestExecutionSummaryBuilder
impl Send for TestExecutionSummaryBuilder
impl Sync for TestExecutionSummaryBuilder
impl Unpin for TestExecutionSummaryBuilder
impl UnwindSafe for TestExecutionSummaryBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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