pub struct Arrivals {Show 21 fields
pub type_field: String,
pub id: String,
pub operation_type: i64,
pub vehicle_id: String,
pub naptan_id: String,
pub station_name: String,
pub line_id: String,
pub line_name: String,
pub platform_name: String,
pub direction: Option<String>,
pub bearing: String,
pub destination_naptan_id: String,
pub destination_name: String,
pub timestamp: String,
pub time_to_station: i64,
pub current_location: String,
pub towards: String,
pub expected_arrival: String,
pub time_to_live: String,
pub mode_name: String,
pub timing: Timing,
}Fields§
§type_field: String§id: String§operation_type: i64§vehicle_id: String§naptan_id: String§station_name: String§line_id: String§line_name: String§platform_name: String§direction: Option<String>§bearing: String§destination_naptan_id: String§destination_name: String§timestamp: String§time_to_station: i64§current_location: String§towards: String§expected_arrival: String§time_to_live: String§mode_name: String§timing: TimingTrait 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
impl StructuralPartialEq for Arrivals
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