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

Trait Implementations

impl PartialEq for ApiResponse
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ApiResponse
[src]

Formats the value using the given formatter.