Struct forecast::ForecastRequestBuilder [] [src]

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

Builder object used to construct a ForecastRequest.

Methods

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

[src]

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

[src]

Add a DataBlock to exclude from the response.

[src]

Add multiple DataBlocks to exclude from the response.

[src]

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

[src]

Set the language for messages in the response data.

[src]

Set the measurement units for response data.

[src]

Finalize the request.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

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

[src]

This method tests for !=.