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
description: String
expires: u64
regions: Vec<String>
severity: Severity
time: u64
title: String
uri: String
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
impl PartialEq for Alert
[src]
fn eq(&self, __arg_0: &Alert) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Alert) -> bool
[src]
This method tests for !=
.