GBFSSystemAlertsV2

Type Alias GBFSSystemAlertsV2 

Source
pub type GBFSSystemAlertsV2 = GBFSSystemAlertsV23;
Expand description

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

Describes ad-hoc changes to the system.

Aliased Type§

pub struct GBFSSystemAlertsV2 {
    pub last_updated: u64,
    pub ttl: u64,
    pub version: String,
    pub data: GBFSSystemAlertsDataV21,
}

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

Contains system alerts data.