pub struct Stop {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>
§station_id: String
§ics_id: String
§top_most_parent_id: String
§modes: Vec<String>
§stop_type: String
§zone: String
§lines: Vec<Line2>
§status: bool
§id: String
§name: String
§lat: f64
§lon: f64
§has_disruption: Option<bool>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stop
impl<'de> Deserialize<'de> for Stop
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 Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnwindSafe for Stop
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