Struct forecast::Alert [] [src]

pub struct Alert {
    pub description: String,
    pub expires: u64,
    pub regions: Vec<String>,
    pub severity: Severity,
    pub time: u64,
    pub title: String,
    pub uri: String,
}

Model object representing a severe weather warning issued by a government authority for the requested location.

Fields

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 PartialEq for Alert
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Alert
[src]

impl Debug for Alert
[src]

[src]

Formats the value using the given formatter.