pub struct BusStop {
pub bus_stop_code: u32,
pub road_name: String,
pub desc: String,
pub lat: f64,
pub long: f64,
}Fields§
§bus_stop_code: u32Unique 5-digit bus stop reference code.
road_name: StringRoad on which the bus stop is located.
desc: StringBus stop landmark or location description.
lat: f64Latitude of the bus stop.
long: f64Longitude of the bus stop.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BusStop
impl<'de> Deserialize<'de> for BusStop
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 BusStop
Auto Trait Implementations§
impl Freeze for BusStop
impl RefUnwindSafe for BusStop
impl Send for BusStop
impl Sync for BusStop
impl Unpin for BusStop
impl UnsafeUnpin for BusStop
impl UnwindSafe for BusStop
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