Struct trenitalia::TrainInfo
source · pub struct TrainInfo {
pub current_station: TrainStation,
pub current_delay: i16,
pub is_at_station: bool,
pub stops: Vec<DetailedTrainTripStop>,
}
Fields§
§current_station: TrainStation
§current_delay: i16
§is_at_station: bool
§stops: Vec<DetailedTrainTripStop>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TrainInfo
impl Send for TrainInfo
impl Sync for TrainInfo
impl Unpin for TrainInfo
impl UnwindSafe for TrainInfo
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