[][src]Struct iml_wire_types::Alert

pub struct Alert {
    pub _message: Option<String>,
    pub active: Option<bool>,
    pub affected: Option<Vec<String>>,
    pub affected_composite_ids: Option<Vec<CompositeId>>,
    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: AlertRecordType,
    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>>affected_composite_ids: Option<Vec<CompositeId>>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: AlertRecordTyperesource_uri: Stringseverity: AlertSeverityvariant: String

Trait Implementations

impl Clone for Alert[src]

impl Debug for Alert[src]

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

impl EndpointName for Alert[src]

impl FlatQuery for Alert[src]

impl PartialEq<Alert> for Alert[src]

impl Serialize for Alert[src]

impl StructuralPartialEq for Alert[src]

Auto Trait Implementations

impl RefUnwindSafe for Alert

impl Send for Alert

impl Sync for Alert

impl Unpin for Alert

impl UnwindSafe for Alert

Blanket Implementations

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

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

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

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

impl<T> EndpointNameSelf for T where
    T: EndpointName
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.