Struct google_ml1::api::GoogleCloudMlV1_Trial_Parameter
source · pub struct GoogleCloudMlV1_Trial_Parameter {
pub float_value: Option<f64>,
pub int_value: Option<i64>,
pub parameter: Option<String>,
pub string_value: Option<String>,
}
Expand description
A message representing a parameter to be tuned. Contains the name of the parameter and the suggested value to use for this trial.
This type is not used in any activity, and only used as part of another schema.
Fields§
§float_value: Option<f64>
Must be set if ParameterType is DOUBLE or DISCRETE.
int_value: Option<i64>
Must be set if ParameterType is INTEGER
parameter: Option<String>
The name of the parameter.
string_value: Option<String>
Must be set if ParameterTypeis CATEGORICAL
Trait Implementations§
source§impl Clone for GoogleCloudMlV1_Trial_Parameter
impl Clone for GoogleCloudMlV1_Trial_Parameter
source§fn clone(&self) -> GoogleCloudMlV1_Trial_Parameter
fn clone(&self) -> GoogleCloudMlV1_Trial_Parameter
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_Trial_Parameter
impl Default for GoogleCloudMlV1_Trial_Parameter
source§fn default() -> GoogleCloudMlV1_Trial_Parameter
fn default() -> GoogleCloudMlV1_Trial_Parameter
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudMlV1_Trial_Parameter
impl<'de> Deserialize<'de> for GoogleCloudMlV1_Trial_Parameter
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_Trial_Parameter
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudMlV1_Trial_Parameter
impl Send for GoogleCloudMlV1_Trial_Parameter
impl Sync for GoogleCloudMlV1_Trial_Parameter
impl Unpin for GoogleCloudMlV1_Trial_Parameter
impl UnwindSafe for GoogleCloudMlV1_Trial_Parameter
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