Struct lta_models::bus::bus_stops::BusStopRaw
source · pub struct BusStopRaw {
pub bus_stop_code: u32,
pub road_name: String,
pub desc: String,
pub lat: f64,
pub long: f64,
}
Fields§
§bus_stop_code: u32
§road_name: String
§desc: String
§lat: f64
§long: f64
Trait Implementations§
source§impl Clone for BusStopRaw
impl Clone for BusStopRaw
source§fn clone(&self) -> BusStopRaw
fn clone(&self) -> BusStopRaw
Returns a copy 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 BusStopRaw
impl Debug for BusStopRaw
source§impl<'de> Deserialize<'de> for BusStopRaw
impl<'de> Deserialize<'de> for BusStopRaw
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 From<BusStopRaw> for BusStop
impl From<BusStopRaw> for BusStop
source§fn from(r: BusStopRaw) -> Self
fn from(r: BusStopRaw) -> Self
Converts to this type from the input type.
source§impl PartialEq for BusStopRaw
impl PartialEq for BusStopRaw
source§fn eq(&self, other: &BusStopRaw) -> bool
fn eq(&self, other: &BusStopRaw) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BusStopRaw
impl Serialize for BusStopRaw
impl StructuralPartialEq for BusStopRaw
Auto Trait Implementations§
impl RefUnwindSafe for BusStopRaw
impl Send for BusStopRaw
impl Sync for BusStopRaw
impl Unpin for BusStopRaw
impl UnwindSafe for BusStopRaw
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