#[non_exhaustive]pub enum AutoMlProblemTypeResolvedAttributes {
TabularResolvedAttributes(TabularResolvedAttributes),
TextGenerationResolvedAttributes(TextGenerationResolvedAttributes),
Unknown,
}
Expand description
Stores resolved attributes specific to the problem type of an AutoML job V2.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TabularResolvedAttributes(TabularResolvedAttributes)
The resolved attributes for the tabular problem type.
TextGenerationResolvedAttributes(TextGenerationResolvedAttributes)
The resolved attributes for the text generation problem type.
Unknown
The Unknown
variant represents cases where new union variant was received. Consider upgrading the SDK to the latest available version.
An unknown enum variant
Note: If you encounter this error, consider upgrading your SDK to the latest version.
The Unknown
variant represents cases where the server sent a value that wasn’t recognized
by the client. This can happen when the server adds new functionality, but the client has not been updated.
To investigate this, consider turning on debug logging to print the raw HTTP response.
Implementations§
source§impl AutoMlProblemTypeResolvedAttributes
impl AutoMlProblemTypeResolvedAttributes
sourcepub fn as_tabular_resolved_attributes(
&self
) -> Result<&TabularResolvedAttributes, &Self>
pub fn as_tabular_resolved_attributes( &self ) -> Result<&TabularResolvedAttributes, &Self>
Tries to convert the enum instance into TabularResolvedAttributes
, extracting the inner TabularResolvedAttributes
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_tabular_resolved_attributes(&self) -> bool
pub fn is_tabular_resolved_attributes(&self) -> bool
Returns true if this is a TabularResolvedAttributes
.
sourcepub fn as_text_generation_resolved_attributes(
&self
) -> Result<&TextGenerationResolvedAttributes, &Self>
pub fn as_text_generation_resolved_attributes( &self ) -> Result<&TextGenerationResolvedAttributes, &Self>
Tries to convert the enum instance into TextGenerationResolvedAttributes
, extracting the inner TextGenerationResolvedAttributes
.
Returns Err(&Self)
if it can’t be converted.
sourcepub fn is_text_generation_resolved_attributes(&self) -> bool
pub fn is_text_generation_resolved_attributes(&self) -> bool
Returns true if this is a TextGenerationResolvedAttributes
.
sourcepub fn is_unknown(&self) -> bool
pub fn is_unknown(&self) -> bool
Returns true if the enum instance is the Unknown
variant.
Trait Implementations§
source§impl Clone for AutoMlProblemTypeResolvedAttributes
impl Clone for AutoMlProblemTypeResolvedAttributes
source§fn clone(&self) -> AutoMlProblemTypeResolvedAttributes
fn clone(&self) -> AutoMlProblemTypeResolvedAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AutoMlProblemTypeResolvedAttributes
impl PartialEq for AutoMlProblemTypeResolvedAttributes
source§fn eq(&self, other: &AutoMlProblemTypeResolvedAttributes) -> bool
fn eq(&self, other: &AutoMlProblemTypeResolvedAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.