GBFSV2

Type Alias GBFSV2 

Source
pub type GBFSV2 = GBFSV23;
Expand description

§GBFS Auto-Discovery Schema V2.x

Auto-discovery file that links to all of the other files published by the system.

Aliased Type§

pub struct GBFSV2 {
    pub last_updated: u64,
    pub ttl: u64,
    pub version: String,
    pub data: BTreeMap<String, GBFSDataV23>,
}

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 (added in v1.1). Const: 2.3

§data: BTreeMap<String, GBFSDataV23>

Response data in the form of name:value pairs.