pub struct ApiAlertConfigViewMetricThreshold {
pub metric_name: String,
pub mode: String,
pub operator: String,
pub threshold: f64,
pub units: String,
}
Fields§
§metric_name: String
§mode: String
§operator: String
§threshold: f64
§units: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiAlertConfigViewMetricThreshold
impl<'de> Deserialize<'de> for ApiAlertConfigViewMetricThreshold
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
Auto Trait Implementations§
impl Freeze for ApiAlertConfigViewMetricThreshold
impl RefUnwindSafe for ApiAlertConfigViewMetricThreshold
impl Send for ApiAlertConfigViewMetricThreshold
impl Sync for ApiAlertConfigViewMetricThreshold
impl Unpin for ApiAlertConfigViewMetricThreshold
impl UnwindSafe for ApiAlertConfigViewMetricThreshold
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