pub struct Alert {
pub uid: String,
pub name: String,
pub severity: String,
pub state: String,
pub entity_type: Option<String>,
pub entity_name: Option<String>,
pub entity_uid: Option<String>,
pub threshold: Option<Value>,
pub change_time: Option<String>,
pub change_value: Option<Value>,
pub description: Option<String>,
pub extra: Value,
}
Expand description
Alert information
Fields§
§uid: String
§name: String
§severity: String
§state: String
§entity_type: Option<String>
§entity_name: Option<String>
§entity_uid: Option<String>
§threshold: Option<Value>
§change_time: Option<String>
§change_value: Option<Value>
§description: Option<String>
§extra: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alert
impl<'de> Deserialize<'de> for Alert
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 Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnwindSafe for Alert
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