pub struct ApiAlertConfigView {
pub id: String,
pub group_id: String,
pub event_type_name: String,
pub created: DateTime<Utc>,
pub updated: DateTime<Utc>,
pub enabled: bool,
pub type_name: String,
pub matchers: Vec<ApiAlertConfigViewMatcher>,
pub metric_threshold: Option<ApiAlertConfigViewMetricThreshold>,
pub notifications: Vec<ApiAlertConfigViewNotification>,
pub threshold: Option<ApiAlertConfigViewThreshold>,
}
Expand description
TODO: None of these types have been confirmed, a bunch could probably be enums; this is just the example object provided.
The same goes for all the child types below.
Fields§
§id: String
§group_id: String
§event_type_name: String
§created: DateTime<Utc>
§updated: DateTime<Utc>
§enabled: bool
§type_name: String
§matchers: Vec<ApiAlertConfigViewMatcher>
§metric_threshold: Option<ApiAlertConfigViewMetricThreshold>
§notifications: Vec<ApiAlertConfigViewNotification>
§threshold: Option<ApiAlertConfigViewThreshold>
Trait Implementations§
Source§impl Debug for ApiAlertConfigView
impl Debug for ApiAlertConfigView
Source§impl<'de> Deserialize<'de> for ApiAlertConfigView
impl<'de> Deserialize<'de> for ApiAlertConfigView
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 ApiAlertConfigView
impl RefUnwindSafe for ApiAlertConfigView
impl Send for ApiAlertConfigView
impl Sync for ApiAlertConfigView
impl Unpin for ApiAlertConfigView
impl UnwindSafe for ApiAlertConfigView
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