Struct forecast::ForecastRequestBuilder [] [src]

pub struct ForecastRequestBuilder<'a> { /* fields omitted */ }

Builder object used to construct a ForecastRequest.

Methods

impl<'a> ForecastRequestBuilder<'a>
[src]

A Forecast API request is constructed with required params api_key, latitude, and longitude.

Add a DataBlock to exclude from the response.

Add multiple DataBlocks to exclude from the response.

Extend the time window of the response data from 48 hours to 168 hours.

Set the language for messages in the response data.

Set the measurement units for response data.

Finalize the request.

Trait Implementations

impl<'a> PartialEq for ForecastRequestBuilder<'a>
[src]

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

This method tests for !=.

impl<'a> Debug for ForecastRequestBuilder<'a>
[src]

Formats the value using the given formatter.