GBFSStationStatusV2

Type Alias GBFSStationStatusV2 

Source
pub type GBFSStationStatusV2 = GBFSStationStatusV23;
Expand description

§GBFS Station Status Schema V2.3, V2.2, V2.1, OR V2.0

List of all stations, their capacities, and locations. REQUIRED for systems utilizing docks.

Aliased Type§

pub struct GBFSStationStatusV2 {
    pub last_updated: u64,
    pub ttl: u64,
    pub version: String,
    pub data: GBFSStationStatusDataV21,
}

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). Minimum: 0

§version: String

GBFS version number to which the feed conforms, according to the versioning framework. Const: 2.3

§data: GBFSStationStatusDataV21

Contains station status information.