Struct darksky::Alert [] [src]

pub struct Alert {
    pub expires: Option<u64>,
    pub description: String,
    pub title: String,
    pub uri: String,
}

A textual, expiring severe weather warning issued for a location. There may be multiple alerts per Forecast.

Fields

Unix timestamp of when the alert expires.

A detailed description of the alert.

A short text summary.

A URI that contains detailed information about the alert.

Trait Implementations

impl Clone for Alert
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Alert
[src]

[src]

Formats the value using the given formatter.