#[non_exhaustive]pub struct MonitoringStatsAnomaly {
pub objective: Objective,
pub feature_stats_anomaly: Option<FeatureStatsAnomaly>,
/* private fields */
}Available on crate features
feature-registry-service or featurestore-service only.Expand description
A list of historical SnapshotAnalysis or ImportFeaturesAnalysis stats requested by user, sorted by FeatureStatsAnomaly.start_time descending.
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: ObjectiveOutput only. The objective for each stats.
feature_stats_anomaly: Option<FeatureStatsAnomaly>Output only. The stats and anomalies generated at specific timestamp.
Implementations§
Source§impl MonitoringStatsAnomaly
impl MonitoringStatsAnomaly
pub fn new() -> Self
Sourcepub fn set_objective<T: Into<Objective>>(self, v: T) -> Self
pub fn set_objective<T: Into<Objective>>(self, v: T) -> Self
Sourcepub fn set_feature_stats_anomaly<T>(self, v: T) -> Selfwhere
T: Into<FeatureStatsAnomaly>,
pub fn set_feature_stats_anomaly<T>(self, v: T) -> Selfwhere
T: Into<FeatureStatsAnomaly>,
Sets the value of feature_stats_anomaly.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::FeatureStatsAnomaly;
let x = MonitoringStatsAnomaly::new().set_feature_stats_anomaly(FeatureStatsAnomaly::default()/* use setters */);Sourcepub fn set_or_clear_feature_stats_anomaly<T>(self, v: Option<T>) -> Selfwhere
T: Into<FeatureStatsAnomaly>,
pub fn set_or_clear_feature_stats_anomaly<T>(self, v: Option<T>) -> Selfwhere
T: Into<FeatureStatsAnomaly>,
Sets or clears the value of feature_stats_anomaly.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::FeatureStatsAnomaly;
let x = MonitoringStatsAnomaly::new().set_or_clear_feature_stats_anomaly(Some(FeatureStatsAnomaly::default()/* use setters */));
let x = MonitoringStatsAnomaly::new().set_or_clear_feature_stats_anomaly(None::<FeatureStatsAnomaly>);Trait Implementations§
Source§impl Clone for MonitoringStatsAnomaly
impl Clone for MonitoringStatsAnomaly
Source§fn clone(&self) -> MonitoringStatsAnomaly
fn clone(&self) -> MonitoringStatsAnomaly
Returns a duplicate 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 Debug for MonitoringStatsAnomaly
impl Debug for MonitoringStatsAnomaly
Source§impl Default for MonitoringStatsAnomaly
impl Default for MonitoringStatsAnomaly
Source§fn default() -> MonitoringStatsAnomaly
fn default() -> MonitoringStatsAnomaly
Returns the “default value” for a type. Read more
Source§impl Message for MonitoringStatsAnomaly
impl Message for MonitoringStatsAnomaly
Source§impl PartialEq for MonitoringStatsAnomaly
impl PartialEq for MonitoringStatsAnomaly
impl StructuralPartialEq for MonitoringStatsAnomaly
Auto Trait Implementations§
impl Freeze for MonitoringStatsAnomaly
impl RefUnwindSafe for MonitoringStatsAnomaly
impl Send for MonitoringStatsAnomaly
impl Sync for MonitoringStatsAnomaly
impl Unpin for MonitoringStatsAnomaly
impl UnwindSafe for MonitoringStatsAnomaly
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