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: StringICS ID
top_most_parent_id: Option<String>Top most parent id
modes: Vec<String>Modes
stop_type: StringStop type
zone: StringStation zone
lines: Vec<RouteLines>Lines
status: boolStatus of the station
id: StringStation ID
name: StringStation name
lat: f64Latitude
lon: f64Longitude
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