GBFSVersionsV2

Type Alias GBFSVersionsV2 

Source
pub type GBFSVersionsV2 = GBFSVersionsV23;
Expand description

§GBFS Versions Schema V2.3, V2.2, V2.1, OR V2.0

Lists all feed endpoints published according to versions of the GBFS documentation.

Aliased Type§

pub struct GBFSVersionsV2 {
    pub last_updated: u64,
    pub ttl: u64,
    pub version: String,
    pub data: GBFSVersionsData20,
}

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: GBFSVersionsData20

Response data in the form of name:value pairs.