pub struct RouteStopPoint {Show 15 fields
pub type_field: String,
pub parent_id: Option<String>,
pub station_id: String,
pub ics_id: String,
pub top_most_parent_id: String,
pub modes: Vec<String>,
pub stop_type: String,
pub zone: String,
pub lines: Vec<Line2>,
pub status: bool,
pub id: String,
pub name: String,
pub lat: f64,
pub lon: f64,
pub has_disruption: Option<bool>,
}
Fields§
§type_field: String
§parent_id: Option<String>
Parent ID
station_id: String
Station ID
ics_id: String
ICS ID
top_most_parent_id: String
Top most parent ID
modes: Vec<String>
Modes
stop_type: String
Stop type
zone: String
Zone
lines: Vec<Line2>
Lines
status: bool
Status
id: String
Stop point ID
name: String
Stop point name
lat: f64
Latitude
lon: f64
Longitude
has_disruption: Option<bool>
Does it has a reported disruption
Trait Implementations§
Source§impl Clone for RouteStopPoint
impl Clone for RouteStopPoint
Source§fn clone(&self) -> RouteStopPoint
fn clone(&self) -> RouteStopPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RouteStopPoint
impl Debug for RouteStopPoint
Source§impl Default for RouteStopPoint
impl Default for RouteStopPoint
Source§fn default() -> RouteStopPoint
fn default() -> RouteStopPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RouteStopPoint
impl<'de> Deserialize<'de> for RouteStopPoint
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
Source§impl PartialEq for RouteStopPoint
impl PartialEq for RouteStopPoint
Source§impl Serialize for RouteStopPoint
impl Serialize for RouteStopPoint
impl StructuralPartialEq for RouteStopPoint
Auto Trait Implementations§
impl Freeze for RouteStopPoint
impl RefUnwindSafe for RouteStopPoint
impl Send for RouteStopPoint
impl Sync for RouteStopPoint
impl Unpin for RouteStopPoint
impl UnwindSafe for RouteStopPoint
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