#[non_exhaustive]pub struct OverallTestResultsBuilder { /* private fields */ }Expand description
A builder for OverallTestResults.
Implementations§
source§impl OverallTestResultsBuilder
impl OverallTestResultsBuilder
sourcepub fn items(self, input: OverallTestResultItem) -> Self
pub fn items(self, input: OverallTestResultItem) -> Self
Appends an item to items.
To override the contents of this collection use set_items.
A list of the overall test results.
sourcepub fn set_items(self, input: Option<Vec<OverallTestResultItem>>) -> Self
pub fn set_items(self, input: Option<Vec<OverallTestResultItem>>) -> Self
A list of the overall test results.
sourcepub fn get_items(&self) -> &Option<Vec<OverallTestResultItem>>
pub fn get_items(&self) -> &Option<Vec<OverallTestResultItem>>
A list of the overall test results.
sourcepub fn build(self) -> Result<OverallTestResults, BuildError>
pub fn build(self) -> Result<OverallTestResults, BuildError>
Consumes the builder and constructs a OverallTestResults.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OverallTestResultsBuilder
impl Clone for OverallTestResultsBuilder
source§fn clone(&self) -> OverallTestResultsBuilder
fn clone(&self) -> OverallTestResultsBuilder
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 OverallTestResultsBuilder
impl Debug for OverallTestResultsBuilder
source§impl Default for OverallTestResultsBuilder
impl Default for OverallTestResultsBuilder
source§fn default() -> OverallTestResultsBuilder
fn default() -> OverallTestResultsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OverallTestResultsBuilder
impl PartialEq for OverallTestResultsBuilder
source§fn eq(&self, other: &OverallTestResultsBuilder) -> bool
fn eq(&self, other: &OverallTestResultsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OverallTestResultsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for OverallTestResultsBuilder
impl Send for OverallTestResultsBuilder
impl Sync for OverallTestResultsBuilder
impl Unpin for OverallTestResultsBuilder
impl UnwindSafe for OverallTestResultsBuilder
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.