pub struct BusStop {
pub bus_stop_code: BusStopCode,
pub road_name: String,
pub desc: String,
pub lat: Latitude,
pub long: Longitude,
}Fields§
§bus_stop_code: BusStopCodeFixed-width 5-digit bus stop reference code. This remains a string so leading zeroes are preserved and the wire format is validated.
road_name: StringRoad on which the bus stop is located.
desc: StringBus stop landmark or location description.
lat: LatitudeGeodetic latitude in decimal degrees. The -90 through 90 bounds are the valid latitude domain and reject impossible coordinates.
long: LongitudeGeodetic longitude in decimal degrees. The -180 through 180 bounds are the valid longitude domain and reject impossible coordinates.
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