Struct darksky::models::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
expires: Option<u64>
Unix timestamp of when the alert expires.
description: String
A detailed description of the alert.
title: String
A short text summary.
uri: String
A URI that contains detailed information about the alert.
Trait Implementations
impl Clone for Alert
[src]
fn clone(&self) -> Alert
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more