pub struct Alert {
Show 19 fields pub name: String, pub id: String, pub area_id: String, pub area_name: String, pub country_code: String, pub description: String, pub effective_time: String, pub expire_time: String, pub issued_time: String, pub event_end_time: String, pub details_url: String, pub precedence: i64, pub severity: Severity, pub source: String, pub event_source: String, pub urgency: String, pub certainty: String, pub importance: String, pub responses: Vec<Option<Value>>,
}

Fields

name: Stringid: Stringarea_id: Stringarea_name: Stringcountry_code: Stringdescription: Stringeffective_time: Stringexpire_time: Stringissued_time: Stringevent_end_time: Stringdetails_url: Stringprecedence: i64severity: Severitysource: Stringevent_source: Stringurgency: Stringcertainty: Stringimportance: Stringresponses: Vec<Option<Value>>

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more