Struct aws_sdk_sagemaker::types::TrialComponentArtifact
source · #[non_exhaustive]pub struct TrialComponentArtifact {
pub media_type: Option<String>,
pub value: Option<String>,
}
Expand description
Represents an input or output artifact of a trial component. You specify TrialComponentArtifact
as part of the InputArtifacts
and OutputArtifacts
parameters in the CreateTrialComponent request.
Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. Examples of output artifacts are metrics, snapshots, logs, and images.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.media_type: Option<String>
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.
value: Option<String>
The location of the artifact.
Implementations§
source§impl TrialComponentArtifact
impl TrialComponentArtifact
sourcepub fn media_type(&self) -> Option<&str>
pub fn media_type(&self) -> Option<&str>
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.
source§impl TrialComponentArtifact
impl TrialComponentArtifact
sourcepub fn builder() -> TrialComponentArtifactBuilder
pub fn builder() -> TrialComponentArtifactBuilder
Creates a new builder-style object to manufacture TrialComponentArtifact
.
Trait Implementations§
source§impl Clone for TrialComponentArtifact
impl Clone for TrialComponentArtifact
source§fn clone(&self) -> TrialComponentArtifact
fn clone(&self) -> TrialComponentArtifact
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrialComponentArtifact
impl Debug for TrialComponentArtifact
source§impl PartialEq for TrialComponentArtifact
impl PartialEq for TrialComponentArtifact
impl StructuralPartialEq for TrialComponentArtifact
Auto Trait Implementations§
impl Freeze for TrialComponentArtifact
impl RefUnwindSafe for TrialComponentArtifact
impl Send for TrialComponentArtifact
impl Sync for TrialComponentArtifact
impl Unpin for TrialComponentArtifact
impl UnwindSafe for TrialComponentArtifact
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more