Struct forecast::ApiResponse
[−]
[src]
pub struct ApiResponse { pub latitude: f64, pub longitude: f64, pub timezone: String, pub offset: i64, pub currently: Option<DataPoint>, pub minutely: Option<DataBlock>, pub hourly: Option<DataBlock>, pub daily: Option<DataBlock>, pub alerts: Option<Vec<Alert>>, pub flags: Option<Flags>, }
Model object representing a Forecast or Time Machine API response.
Fields
latitude: f64
longitude: f64
timezone: String
offset: i64
Deprecated since 1.0.0
currently: Option<DataPoint>
minutely: Option<DataBlock>
hourly: Option<DataBlock>
daily: Option<DataBlock>
alerts: Option<Vec<Alert>>
flags: Option<Flags>
Trait Implementations
impl Clone for ApiResponse
[src]
fn clone(&self) -> ApiResponse
[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 ApiResponse
[src]
fn eq(&self, __arg_0: &ApiResponse) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ApiResponse) -> bool
[src]
This method tests for !=
.