#[non_exhaustive]pub struct TestGridSessionArtifactBuilder { /* private fields */ }Expand description
A builder for TestGridSessionArtifact.
Implementations§
source§impl TestGridSessionArtifactBuilder
impl TestGridSessionArtifactBuilder
sourcepub fn set_filename(self, input: Option<String>) -> Self
pub fn set_filename(self, input: Option<String>) -> Self
The file name of the artifact.
sourcepub fn get_filename(&self) -> &Option<String>
pub fn get_filename(&self) -> &Option<String>
The file name of the artifact.
sourcepub fn type(self, input: TestGridSessionArtifactType) -> Self
pub fn type(self, input: TestGridSessionArtifactType) -> Self
The kind of artifact.
sourcepub fn set_type(self, input: Option<TestGridSessionArtifactType>) -> Self
pub fn set_type(self, input: Option<TestGridSessionArtifactType>) -> Self
The kind of artifact.
sourcepub fn get_type(&self) -> &Option<TestGridSessionArtifactType>
pub fn get_type(&self) -> &Option<TestGridSessionArtifactType>
The kind of artifact.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
A semi-stable URL to the content of the object.
sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
A semi-stable URL to the content of the object.
sourcepub fn build(self) -> TestGridSessionArtifact
pub fn build(self) -> TestGridSessionArtifact
Consumes the builder and constructs a TestGridSessionArtifact.
Trait Implementations§
source§impl Clone for TestGridSessionArtifactBuilder
impl Clone for TestGridSessionArtifactBuilder
source§fn clone(&self) -> TestGridSessionArtifactBuilder
fn clone(&self) -> TestGridSessionArtifactBuilder
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 Default for TestGridSessionArtifactBuilder
impl Default for TestGridSessionArtifactBuilder
source§fn default() -> TestGridSessionArtifactBuilder
fn default() -> TestGridSessionArtifactBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TestGridSessionArtifactBuilder
impl PartialEq for TestGridSessionArtifactBuilder
source§fn eq(&self, other: &TestGridSessionArtifactBuilder) -> bool
fn eq(&self, other: &TestGridSessionArtifactBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TestGridSessionArtifactBuilder
Auto Trait Implementations§
impl Freeze for TestGridSessionArtifactBuilder
impl RefUnwindSafe for TestGridSessionArtifactBuilder
impl Send for TestGridSessionArtifactBuilder
impl Sync for TestGridSessionArtifactBuilder
impl Unpin for TestGridSessionArtifactBuilder
impl UnwindSafe for TestGridSessionArtifactBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
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.