pub struct TrialComponentArtifact {
pub media_type: Option<String>,
pub value: 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§
§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: StringThe location of the artifact.
Trait Implementations§
Source§impl Clone for TrialComponentArtifact
impl Clone for TrialComponentArtifact
Source§fn clone(&self) -> TrialComponentArtifact
fn clone(&self) -> TrialComponentArtifact
Returns a duplicate 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 Debug for TrialComponentArtifact
impl Debug for TrialComponentArtifact
Source§impl Default for TrialComponentArtifact
impl Default for TrialComponentArtifact
Source§fn default() -> TrialComponentArtifact
fn default() -> TrialComponentArtifact
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrialComponentArtifact
impl<'de> Deserialize<'de> for TrialComponentArtifact
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TrialComponentArtifact
impl PartialEq for TrialComponentArtifact
Source§impl Serialize for TrialComponentArtifact
impl Serialize 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
Mutably borrows from an owned value. Read more