pub struct GoogleCloudMlV1_StudyConfig_MetricSpec {
pub goal: Option<String>,
pub metric: Option<String>,
}
Expand description
Represents a metric to optimize.
This type is not used in any activity, and only used as part of another schema.
Fields§
§goal: Option<String>
Required. The optimization goal of the metric.
metric: Option<String>
Required. The name of the metric.
Trait Implementations§
source§impl Clone for GoogleCloudMlV1_StudyConfig_MetricSpec
impl Clone for GoogleCloudMlV1_StudyConfig_MetricSpec
source§fn clone(&self) -> GoogleCloudMlV1_StudyConfig_MetricSpec
fn clone(&self) -> GoogleCloudMlV1_StudyConfig_MetricSpec
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_MetricSpec
impl Default for GoogleCloudMlV1_StudyConfig_MetricSpec
source§fn default() -> GoogleCloudMlV1_StudyConfig_MetricSpec
fn default() -> GoogleCloudMlV1_StudyConfig_MetricSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudMlV1_StudyConfig_MetricSpec
impl<'de> Deserialize<'de> for GoogleCloudMlV1_StudyConfig_MetricSpec
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_MetricSpec
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudMlV1_StudyConfig_MetricSpec
impl Send for GoogleCloudMlV1_StudyConfig_MetricSpec
impl Sync for GoogleCloudMlV1_StudyConfig_MetricSpec
impl Unpin for GoogleCloudMlV1_StudyConfig_MetricSpec
impl UnwindSafe for GoogleCloudMlV1_StudyConfig_MetricSpec
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