pub struct StationTrainRealtime { /* private fields */ }Expand description
Train data during its stay at the station
Implementations§
Source§impl StationTrainRealtime
impl StationTrainRealtime
Sourcepub fn destination(&self) -> &String
pub fn destination(&self) -> &String
Train end point
Sourcepub fn scheduled_time(&self) -> &String
pub fn scheduled_time(&self) -> &String
Scheduled departure time
Sourcepub fn forecast_time(&self) -> &String
pub fn forecast_time(&self) -> &String
Real departure time
Sourcepub fn description(&self) -> &String
pub fn description(&self) -> &String
Generic trip description
Trait Implementations§
Source§impl Debug for StationTrainRealtime
impl Debug for StationTrainRealtime
Source§impl<'de> Deserialize<'de> for StationTrainRealtime
impl<'de> Deserialize<'de> for StationTrainRealtime
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 StationTrainRealtime
impl RefUnwindSafe for StationTrainRealtime
impl Send for StationTrainRealtime
impl Sync for StationTrainRealtime
impl Unpin for StationTrainRealtime
impl UnwindSafe for StationTrainRealtime
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