Module darksky::models [] [src]

A set of models representing data received by the API.

Structs

Alert

A textual, expiring severe weather warning issued for a location. There may be multiple alerts per Forecast.

Datablock

A block of data within a Forecast, with potentially many Datapoints.

Datapoint

A datapoint within a Datablock, where there is usually multiple.

Flags

A set of flags for a forecast, such as the Units specified or the vector of DarkSky stations reporting.

Forecast

A full forecast returned from the get_forecast and get_forecast_with_options functions.

Enums

Icon

A safe representation of the indicated weather. This is useful for matching and presenting an emoji or other weather symbol or representation.

PrecipitationType

The type of precipitation that is happening within a Datapoint.

Severity

The severity of the weather alert.