Struct kvvliveapi::Departure [] [src]

pub struct Departure {
    pub route: String,
    pub destination: String,
    pub direction: String,
    pub time: DateTime<Tz>,
    pub lowfloor: bool,
    pub realtime: bool,
    pub traction: u32,
    pub platform: String,
}

A single departure containing information about time, platform, and the train

Fields

tram line name

destination stop

which direction the tram is going (1 or 2) does not seem to correspond to platform

when the train arrives

low-floor tram?

real time data available?

not sure. seen 0 or 2 as values

platform the train arrives on

Trait Implementations

impl Debug for Departure
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Departure
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Display for Departure
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Departure

impl Sync for Departure