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

Trait Implementations

impl PartialEq for Alert
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Alert
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Alert
[src]

Formats the value using the given formatter.