#[non_exhaustive]pub struct ModelDeploymentMonitoringObjectiveConfig {
pub deployed_model_id: String,
pub objective_config: Option<ModelMonitoringObjectiveConfig>,
/* private fields */
}Expand description
ModelDeploymentMonitoringObjectiveConfig contains the pair of deployed_model_id to ModelMonitoringObjectiveConfig.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.deployed_model_id: StringThe DeployedModel ID of the objective config.
objective_config: Option<ModelMonitoringObjectiveConfig>The objective config of for the modelmonitoring job of this deployed model.
Implementations§
Source§impl ModelDeploymentMonitoringObjectiveConfig
impl ModelDeploymentMonitoringObjectiveConfig
pub fn new() -> Self
Sourcepub fn set_deployed_model_id<T: Into<String>>(self, v: T) -> Self
pub fn set_deployed_model_id<T: Into<String>>(self, v: T) -> Self
Sets the value of deployed_model_id.
Sourcepub fn set_objective_config<T: Into<Option<ModelMonitoringObjectiveConfig>>>(
self,
v: T,
) -> Self
pub fn set_objective_config<T: Into<Option<ModelMonitoringObjectiveConfig>>>( self, v: T, ) -> Self
Sets the value of objective_config.
Trait Implementations§
Source§impl Clone for ModelDeploymentMonitoringObjectiveConfig
impl Clone for ModelDeploymentMonitoringObjectiveConfig
Source§fn clone(&self) -> ModelDeploymentMonitoringObjectiveConfig
fn clone(&self) -> ModelDeploymentMonitoringObjectiveConfig
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 ModelDeploymentMonitoringObjectiveConfig
impl Default for ModelDeploymentMonitoringObjectiveConfig
Source§fn default() -> ModelDeploymentMonitoringObjectiveConfig
fn default() -> ModelDeploymentMonitoringObjectiveConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelDeploymentMonitoringObjectiveConfig
impl<'de> Deserialize<'de> for ModelDeploymentMonitoringObjectiveConfig
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 ModelDeploymentMonitoringObjectiveConfig
impl PartialEq for ModelDeploymentMonitoringObjectiveConfig
Source§fn eq(&self, other: &ModelDeploymentMonitoringObjectiveConfig) -> bool
fn eq(&self, other: &ModelDeploymentMonitoringObjectiveConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelDeploymentMonitoringObjectiveConfig
Auto Trait Implementations§
impl Freeze for ModelDeploymentMonitoringObjectiveConfig
impl RefUnwindSafe for ModelDeploymentMonitoringObjectiveConfig
impl Send for ModelDeploymentMonitoringObjectiveConfig
impl Sync for ModelDeploymentMonitoringObjectiveConfig
impl Unpin for ModelDeploymentMonitoringObjectiveConfig
impl UnwindSafe for ModelDeploymentMonitoringObjectiveConfig
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