pub struct Station {Show 13 fields
pub type_field: String,
pub station_id: Option<String>,
pub ics_id: String,
pub top_most_parent_id: Option<String>,
pub modes: Vec<String>,
pub stop_type: String,
pub zone: String,
pub lines: Vec<RouteLines>,
pub status: bool,
pub id: String,
pub name: String,
pub lat: f64,
pub lon: f64,
}
Fields§
§type_field: String
§station_id: Option<String>
Station ID
ics_id: String
ICS ID
top_most_parent_id: Option<String>
Top most parent id
modes: Vec<String>
Modes
stop_type: String
Stop type
zone: String
Station zone
lines: Vec<RouteLines>
Lines
status: bool
Status of the station
id: String
Station ID
name: String
Station name
lat: f64
Latitude
lon: f64
Longitude
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Station
impl<'de> Deserialize<'de> for Station
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 Station
Auto Trait Implementations§
impl Freeze for Station
impl RefUnwindSafe for Station
impl Send for Station
impl Sync for Station
impl Unpin for Station
impl UnwindSafe for Station
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