[][src]Struct iml_wire_types::Alert

pub struct Alert {
    pub _message: Option<String>,
    pub active: Option<bool>,
    pub affected: Option<Vec<String>>,
    pub alert_item: String,
    pub alert_item_id: Option<i32>,
    pub alert_item_str: String,
    pub alert_type: String,
    pub begin: String,
    pub dismissed: bool,
    pub end: Option<String>,
    pub id: u32,
    pub lustre_pid: Option<i32>,
    pub message: String,
    pub record_type: AlertType,
    pub resource_uri: String,
    pub severity: AlertSeverity,
    pub variant: String,
}

An Alert record from /api/alert/

Fields

_message: Option<String>active: Option<bool>affected: Option<Vec<String>>alert_item: Stringalert_item_id: Option<i32>alert_item_str: Stringalert_type: Stringbegin: Stringdismissed: boolend: Option<String>id: u32lustre_pid: Option<i32>message: Stringrecord_type: AlertTyperesource_uri: Stringseverity: AlertSeverityvariant: String

Trait Implementations

impl EndpointName for Alert[src]

impl Clone for Alert[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Alert[src]

impl Serialize for Alert[src]

impl<'de> Deserialize<'de> for Alert[src]

Auto Trait Implementations

impl Unpin for Alert

impl Sync for Alert

impl Send for Alert

impl RefUnwindSafe for Alert

impl UnwindSafe for Alert

Blanket Implementations

impl<T> ToJsonValue for T where
    T: Serialize
[src]

impl<T> ToBytes for T where
    T: Serialize
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]