#[non_exhaustive]pub struct ModelMonitoringStatsAnomalies {
pub objective: ModelDeploymentMonitoringObjectiveType,
pub deployed_model_id: String,
pub anomaly_count: i32,
pub feature_stats: Vec<FeatureHistoricStatsAnomalies>,
/* private fields */
}Expand description
Statistics and anomalies generated by Model Monitoring.
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.objective: ModelDeploymentMonitoringObjectiveTypeModel Monitoring Objective those stats and anomalies belonging to.
deployed_model_id: StringDeployed Model ID.
anomaly_count: i32Number of anomalies within all stats.
feature_stats: Vec<FeatureHistoricStatsAnomalies>A list of historical Stats and Anomalies generated for all Features.
Implementations§
Source§impl ModelMonitoringStatsAnomalies
impl ModelMonitoringStatsAnomalies
pub fn new() -> Self
Sourcepub fn set_objective<T: Into<ModelDeploymentMonitoringObjectiveType>>(
self,
v: T,
) -> Self
pub fn set_objective<T: Into<ModelDeploymentMonitoringObjectiveType>>( self, v: T, ) -> Self
Sets the value of objective.
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_anomaly_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_anomaly_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of anomaly_count.
Sourcepub fn set_feature_stats<T, V>(self, v: T) -> Self
pub fn set_feature_stats<T, V>(self, v: T) -> Self
Sets the value of feature_stats.
Trait Implementations§
Source§impl Clone for ModelMonitoringStatsAnomalies
impl Clone for ModelMonitoringStatsAnomalies
Source§fn clone(&self) -> ModelMonitoringStatsAnomalies
fn clone(&self) -> ModelMonitoringStatsAnomalies
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 ModelMonitoringStatsAnomalies
impl Default for ModelMonitoringStatsAnomalies
Source§fn default() -> ModelMonitoringStatsAnomalies
fn default() -> ModelMonitoringStatsAnomalies
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelMonitoringStatsAnomalieswhere
ModelMonitoringStatsAnomalies: Default,
impl<'de> Deserialize<'de> for ModelMonitoringStatsAnomalieswhere
ModelMonitoringStatsAnomalies: Default,
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 ModelMonitoringStatsAnomalies
impl PartialEq for ModelMonitoringStatsAnomalies
Source§fn eq(&self, other: &ModelMonitoringStatsAnomalies) -> bool
fn eq(&self, other: &ModelMonitoringStatsAnomalies) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelMonitoringStatsAnomalies
Auto Trait Implementations§
impl Freeze for ModelMonitoringStatsAnomalies
impl RefUnwindSafe for ModelMonitoringStatsAnomalies
impl Send for ModelMonitoringStatsAnomalies
impl Sync for ModelMonitoringStatsAnomalies
impl Unpin for ModelMonitoringStatsAnomalies
impl UnwindSafe for ModelMonitoringStatsAnomalies
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