#[non_exhaustive]pub struct GroupResultBuilder { /* private fields */ }
Expand description
A builder for GroupResult
.
Implementations§
source§impl GroupResultBuilder
impl GroupResultBuilder
sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
Group result ID.
sourcepub fn get_group_id(&self) -> &Option<String>
pub fn get_group_id(&self) -> &Option<String>
Group result ID.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
Group Result Name.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
Group Result Name.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
Group Result Name.
sourcepub fn tests(self, input: TestCaseRun) -> Self
pub fn tests(self, input: TestCaseRun) -> Self
Appends an item to tests
.
To override the contents of this collection use set_tests
.
Tests under Group Result.
sourcepub fn set_tests(self, input: Option<Vec<TestCaseRun>>) -> Self
pub fn set_tests(self, input: Option<Vec<TestCaseRun>>) -> Self
Tests under Group Result.
sourcepub fn get_tests(&self) -> &Option<Vec<TestCaseRun>>
pub fn get_tests(&self) -> &Option<Vec<TestCaseRun>>
Tests under Group Result.
sourcepub fn build(self) -> GroupResult
pub fn build(self) -> GroupResult
Consumes the builder and constructs a GroupResult
.
Trait Implementations§
source§impl Clone for GroupResultBuilder
impl Clone for GroupResultBuilder
source§fn clone(&self) -> GroupResultBuilder
fn clone(&self) -> GroupResultBuilder
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 GroupResultBuilder
impl Debug for GroupResultBuilder
source§impl Default for GroupResultBuilder
impl Default for GroupResultBuilder
source§fn default() -> GroupResultBuilder
fn default() -> GroupResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GroupResultBuilder
impl PartialEq for GroupResultBuilder
source§fn eq(&self, other: &GroupResultBuilder) -> bool
fn eq(&self, other: &GroupResultBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GroupResultBuilder
Auto Trait Implementations§
impl Freeze for GroupResultBuilder
impl RefUnwindSafe for GroupResultBuilder
impl Send for GroupResultBuilder
impl Sync for GroupResultBuilder
impl Unpin for GroupResultBuilder
impl UnwindSafe for GroupResultBuilder
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.