pub struct Arrivals {Show 15 fields
pub direction: String,
pub path: String,
pub train_id: String,
pub origin: RegionalRailStop,
pub destination: RegionalRailStop,
pub line: RegionalRailsLine,
pub status: String,
pub service_type: ServiceType,
pub next_station: Option<RegionalRailStop>,
pub sched_time: NaiveDateTime,
pub depart_time: NaiveDateTime,
pub track: String,
pub track_change: Option<String>,
pub platform: String,
pub platform_change: Option<String>,
}Fields§
§direction: String§path: String§train_id: String§origin: RegionalRailStop§destination: RegionalRailStop§line: RegionalRailsLine§status: String§service_type: ServiceType§next_station: Option<RegionalRailStop>§sched_time: NaiveDateTime§depart_time: NaiveDateTime§track: String§track_change: Option<String>§platform: String§platform_change: Option<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for Arrivals
impl<'de> Deserialize<'de> for Arrivals
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more