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]
impl Clone for Alert
fn clone(&self) -> Alert
[src]
fn clone(&self) -> Alert
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Alert
[src]
impl PartialEq for Alert
fn eq(&self, other: &Alert) -> bool
[src]
fn eq(&self, other: &Alert) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Alert) -> bool
[src]
fn ne(&self, other: &Alert) -> bool
This method tests for !=
.
impl Eq for Alert
[src]
impl Eq for Alert
impl Debug for Alert
[src]
impl Debug for Alert