Struct mackerel_client::alert::Alert
[−]
[src]
pub struct Alert { pub id: String, pub status: AlertStatus, pub monitor_id: Option<String>, pub monitor_type: MonitorType, pub host_id: Option<String>, pub value: Option<f64>, pub message: Option<String>, pub reason: Option<String>, }
An alert
Fields
id: String
status: AlertStatus
monitor_id: Option<String>
monitor_type: MonitorType
host_id: Option<String>
value: Option<f64>
message: Option<String>
reason: Option<String>
Trait Implementations
impl PartialEq for Alert
[src]
fn eq(&self, __arg_0: &Alert) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Alert) -> bool
This method tests for !=
.
impl Clone for Alert
[src]
fn clone(&self) -> Alert
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more