GBFSVehicleTypesV2

Type Alias GBFSVehicleTypesV2 

Source
pub type GBFSVehicleTypesV2 = GBFSVehicleTypesV23;
Expand description

§GBFS Vehicle Types V2.3, V2.2, V2.1, OR V2.0

Describes the types of vehicles that System operator has available for rent (added in v2.1-RC).

Aliased Type§

pub struct GBFSVehicleTypesV2 {
    pub last_updated: u64,
    pub ttl: u64,
    pub version: String,
    pub data: GBFSVehicleTypeDataV23,
}

Fields§

§last_updated: u64

Last time the data in the feed was updated in POSIX time. Minimum: 1450155600.

§ttl: u64

Number of seconds before the data in the feed will be updated again (0 if the data should always be refreshed).

§version: String

GBFS version number to which the feed conforms.

§data: GBFSVehicleTypeDataV23

Response data in the form of name:value pairs.