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
Auto Trait Implementations§
impl Freeze for Arrivals
impl RefUnwindSafe for Arrivals
impl Send for Arrivals
impl Sync for Arrivals
impl Unpin for Arrivals
impl UnwindSafe for Arrivals
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more