#[non_exhaustive]pub struct TestExecutionTargetBuilder { /* private fields */ }
Expand description
A builder for TestExecutionTarget
.
Implementations§
source§impl TestExecutionTargetBuilder
impl TestExecutionTargetBuilder
sourcepub fn bot_alias_target(self, input: BotAliasTestExecutionTarget) -> Self
pub fn bot_alias_target(self, input: BotAliasTestExecutionTarget) -> Self
Contains information about the bot alias used for the test execution.
sourcepub fn set_bot_alias_target(
self,
input: Option<BotAliasTestExecutionTarget>
) -> Self
pub fn set_bot_alias_target( self, input: Option<BotAliasTestExecutionTarget> ) -> Self
Contains information about the bot alias used for the test execution.
sourcepub fn get_bot_alias_target(&self) -> &Option<BotAliasTestExecutionTarget>
pub fn get_bot_alias_target(&self) -> &Option<BotAliasTestExecutionTarget>
Contains information about the bot alias used for the test execution.
sourcepub fn build(self) -> TestExecutionTarget
pub fn build(self) -> TestExecutionTarget
Consumes the builder and constructs a TestExecutionTarget
.
Trait Implementations§
source§impl Clone for TestExecutionTargetBuilder
impl Clone for TestExecutionTargetBuilder
source§fn clone(&self) -> TestExecutionTargetBuilder
fn clone(&self) -> TestExecutionTargetBuilder
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 TestExecutionTargetBuilder
impl Debug for TestExecutionTargetBuilder
source§impl Default for TestExecutionTargetBuilder
impl Default for TestExecutionTargetBuilder
source§fn default() -> TestExecutionTargetBuilder
fn default() -> TestExecutionTargetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TestExecutionTargetBuilder
impl PartialEq for TestExecutionTargetBuilder
source§fn eq(&self, other: &TestExecutionTargetBuilder) -> bool
fn eq(&self, other: &TestExecutionTargetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestExecutionTargetBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TestExecutionTargetBuilder
impl Send for TestExecutionTargetBuilder
impl Sync for TestExecutionTargetBuilder
impl Unpin for TestExecutionTargetBuilder
impl UnwindSafe for TestExecutionTargetBuilder
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.