pub struct StationRealtime { /* private fields */ }Expand description
Abstraction over departure and departure board for a station
Implementations§
Source§impl StationRealtime
impl StationRealtime
pub fn arrival_board(&self) -> &Vec<StationTrainRealtime>
pub fn departure_board(&self) -> &Vec<StationTrainRealtime>
Trait Implementations§
Source§impl Debug for StationRealtime
impl Debug for StationRealtime
Source§impl<'de> Deserialize<'de> for StationRealtime
impl<'de> Deserialize<'de> for StationRealtime
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 StationRealtime
impl RefUnwindSafe for StationRealtime
impl Send for StationRealtime
impl Sync for StationRealtime
impl Unpin for StationRealtime
impl UnwindSafe for StationRealtime
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