pub struct StopPoints {Show 18 fields
pub type_field: String,
pub naptan_id: String,
pub modes: Vec<String>,
pub ics_code: String,
pub stop_type: String,
pub station_naptan: String,
pub lines: Vec<StopPointLine>,
pub line_group: Vec<LineGroup>,
pub line_mode_groups: Vec<LineModeGroup>,
pub status: bool,
pub id: String,
pub common_name: String,
pub place_type: String,
pub additional_properties: Vec<AdditionalProperty>,
pub children: Vec<Children>,
pub lat: f64,
pub lon: f64,
pub hub_naptan_code: Option<String>,
}
Fields§
§type_field: String
§naptan_id: String
NAPTAN ID
modes: Vec<String>
List of modes
ics_code: String
ICS code
stop_type: String
Stop type
station_naptan: String
Station NAPTAN
lines: Vec<StopPointLine>
List of lines
line_group: Vec<LineGroup>
Line group
line_mode_groups: Vec<LineModeGroup>
Line mode groups
status: bool
Status
id: String
ID
common_name: String
Common Name
place_type: String
Place type
additional_properties: Vec<AdditionalProperty>
Additional properties
children: Vec<Children>
Children
lat: f64
Latitude
lon: f64
Longitude
hub_naptan_code: Option<String>
Hub NAPTAN code
Trait Implementations§
Source§impl Clone for StopPoints
impl Clone for StopPoints
Source§fn clone(&self) -> StopPoints
fn clone(&self) -> StopPoints
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 StopPoints
impl Debug for StopPoints
Source§impl Default for StopPoints
impl Default for StopPoints
Source§fn default() -> StopPoints
fn default() -> StopPoints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StopPoints
impl<'de> Deserialize<'de> for StopPoints
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 StopPoints
impl PartialEq for StopPoints
Source§impl Serialize for StopPoints
impl Serialize for StopPoints
impl StructuralPartialEq for StopPoints
Auto Trait Implementations§
impl Freeze for StopPoints
impl RefUnwindSafe for StopPoints
impl Send for StopPoints
impl Sync for StopPoints
impl Unpin for StopPoints
impl UnwindSafe for StopPoints
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