Module tankerkoenig::models::price
source · Expand description
This module contains rust structs that describe the response of the tankerkoenig prices API.
The json responses are parsed with serde to strongly typed rust structs.
Structs§
- Response of the tankerkoenig api mapped to a rust struct with serde. The struct holds information about fuel prices for a collection of stations.
- Fuel prices of a station. If one field is
Noone
the station doesn’t offer the fuel or it is currently not possibleto fetch the price.