#[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 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 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<TestGridSessionArtifactBuilder> for TestGridSessionArtifactBuilder
impl PartialEq<TestGridSessionArtifactBuilder> 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 ==.