pub struct GoogleCloudMlV1_StudyConfig_ParameterSpec {
pub categorical_value_spec: Option<GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec>,
pub child_parameter_specs: Option<Vec<GoogleCloudMlV1_StudyConfig_ParameterSpec>>,
pub discrete_value_spec: Option<GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec>,
pub double_value_spec: Option<GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec>,
pub integer_value_spec: Option<GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec>,
pub parameter: Option<String>,
pub parent_categorical_values: Option<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec>,
pub parent_discrete_values: Option<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec>,
pub parent_int_values: Option<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec>,
pub scale_type: Option<String>,
pub type_: Option<String>,
}
Expand description
Represents a single parameter to optimize.
This type is not used in any activity, and only used as part of another schema.
Fields§
§categorical_value_spec: Option<GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec>
The value spec for a ‘CATEGORICAL’ parameter.
child_parameter_specs: Option<Vec<GoogleCloudMlV1_StudyConfig_ParameterSpec>>
A child node is active if the parameter’s value matches the child node’s matching_parent_values. If two items in child_parameter_specs have the same name, they must have disjoint matching_parent_values.
discrete_value_spec: Option<GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec>
The value spec for a ‘DISCRETE’ parameter.
double_value_spec: Option<GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec>
The value spec for a ‘DOUBLE’ parameter.
integer_value_spec: Option<GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec>
The value spec for an ‘INTEGER’ parameter.
parameter: Option<String>
Required. The parameter name must be unique amongst all ParameterSpecs.
parent_categorical_values: Option<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec>
no description provided
parent_discrete_values: Option<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec>
no description provided
parent_int_values: Option<GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec>
no description provided
scale_type: Option<String>
How the parameter should be scaled. Leave unset for categorical parameters.
type_: Option<String>
Required. The type of the parameter.
Trait Implementations§
source§impl Clone for GoogleCloudMlV1_StudyConfig_ParameterSpec
impl Clone for GoogleCloudMlV1_StudyConfig_ParameterSpec
source§fn clone(&self) -> GoogleCloudMlV1_StudyConfig_ParameterSpec
fn clone(&self) -> GoogleCloudMlV1_StudyConfig_ParameterSpec
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 GoogleCloudMlV1_StudyConfig_ParameterSpec
impl Default for GoogleCloudMlV1_StudyConfig_ParameterSpec
source§fn default() -> GoogleCloudMlV1_StudyConfig_ParameterSpec
fn default() -> GoogleCloudMlV1_StudyConfig_ParameterSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudMlV1_StudyConfig_ParameterSpec
impl<'de> Deserialize<'de> for GoogleCloudMlV1_StudyConfig_ParameterSpec
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
impl Part for GoogleCloudMlV1_StudyConfig_ParameterSpec
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudMlV1_StudyConfig_ParameterSpec
impl Send for GoogleCloudMlV1_StudyConfig_ParameterSpec
impl Sync for GoogleCloudMlV1_StudyConfig_ParameterSpec
impl Unpin for GoogleCloudMlV1_StudyConfig_ParameterSpec
impl UnwindSafe for GoogleCloudMlV1_StudyConfig_ParameterSpec
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