#[non_exhaustive]pub struct TrialComponentArtifactBuilder { /* private fields */ }
Expand description
A builder for TrialComponentArtifact
.
Implementations§
source§impl TrialComponentArtifactBuilder
impl TrialComponentArtifactBuilder
sourcepub fn media_type(self, input: impl Into<String>) -> Self
pub fn media_type(self, input: impl Into<String>) -> Self
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
sourcepub fn set_media_type(self, input: Option<String>) -> Self
pub fn set_media_type(self, input: Option<String>) -> Self
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
sourcepub fn build(self) -> TrialComponentArtifact
pub fn build(self) -> TrialComponentArtifact
Consumes the builder and constructs a TrialComponentArtifact
.
Trait Implementations§
source§impl Clone for TrialComponentArtifactBuilder
impl Clone for TrialComponentArtifactBuilder
source§fn clone(&self) -> TrialComponentArtifactBuilder
fn clone(&self) -> TrialComponentArtifactBuilder
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 TrialComponentArtifactBuilder
impl Default for TrialComponentArtifactBuilder
source§fn default() -> TrialComponentArtifactBuilder
fn default() -> TrialComponentArtifactBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TrialComponentArtifactBuilder> for TrialComponentArtifactBuilder
impl PartialEq<TrialComponentArtifactBuilder> for TrialComponentArtifactBuilder
source§fn eq(&self, other: &TrialComponentArtifactBuilder) -> bool
fn eq(&self, other: &TrialComponentArtifactBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.