Struct forecast::Flags [−][src]
pub struct Flags { pub darksky_unavailable: Option<String>, pub sources: Vec<String>, pub units: Units, }
Model object representing a flag which contains miscellaneous metadata about a request.
Fields
sources: Vec<String>
units: Units
Trait Implementations
impl Clone for Flags
[src]
impl Clone for Flags
fn clone(&self) -> Flags
[src]
fn clone(&self) -> Flags
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 Flags
[src]
impl PartialEq for Flags
fn eq(&self, other: &Flags) -> bool
[src]
fn eq(&self, other: &Flags) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Flags) -> bool
[src]
fn ne(&self, other: &Flags) -> bool
This method tests for !=
.
impl Eq for Flags
[src]
impl Eq for Flags
impl Debug for Flags
[src]
impl Debug for Flags