Struct forecast::DataBlock [−][src]
pub struct DataBlock { pub data: Vec<DataPoint>, pub summary: Option<String>, pub icon: Option<Icon>, }
Model object representing the various weather phenomena occurring over a period of time.
Fields
data: Vec<DataPoint>
summary: Option<String>
icon: Option<Icon>
Trait Implementations
impl Clone for DataBlock
[src]
impl Clone for DataBlock
fn clone(&self) -> DataBlock
[src]
fn clone(&self) -> DataBlock
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 DataBlock
[src]
impl PartialEq for DataBlock
fn eq(&self, other: &DataBlock) -> bool
[src]
fn eq(&self, other: &DataBlock) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DataBlock) -> bool
[src]
fn ne(&self, other: &DataBlock) -> bool
This method tests for !=
.
impl Debug for DataBlock
[src]
impl Debug for DataBlock