Struct kvvliveapi::Departures
[−]
[src]
pub struct Departures { pub timestamp: DateTime<Tz>, pub stop_name: String, pub departures: Vec<Departure>, }
Answer to a query for departures. Contains stop name, timestamp, and all departures.
Fields
timestamp: DateTime<Tz>
response timestamp
stop_name: String
human-readable stop name
departures: Vec<Departure>
all scheduled departures
Trait Implementations
impl Debug for Departures
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Departures
[src]
fn eq(&self, __arg_0: &Departures) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Departures) -> bool
[src]
This method tests for !=
.