Struct forecast::ApiResponse
[−]
[src]
pub struct ApiResponse { pub latitude: f64, pub longitude: f64, pub timezone: String, pub offset: Option<u64>, 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: Option<u64>
currently: Option<DataPoint>
minutely: Option<DataBlock>
hourly: Option<DataBlock>
daily: Option<DataBlock>
alerts: Option<Vec<Alert>>
flags: Option<Flags>
Trait Implementations
impl PartialEq for ApiResponse
[src]
fn eq(&self, __arg_0: &ApiResponse) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ApiResponse) -> bool
This method tests for !=
.