GBFSSystemHoursV2

Type Alias GBFSSystemHoursV2 

Source
pub type GBFSSystemHoursV2 = GBFSSystemHoursV23;
Expand description

§GBFS System Hours Schema V2.3, V2.2, V2.1, OR V2.0

Describes the operating calendar for a system.

Aliased Type§

pub struct GBFSSystemHoursV2 {
    pub last_updated: u64,
    pub ttl: u64,
    pub version: String,
    pub data: GBFSSystemHoursDataV20,
}

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

Contains system hours data.