#[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
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestGridSessionArtifactBuilder
Auto Trait Implementations§
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> 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.