pub struct TrafficSpeedBandRaw {
pub link_id: u64,
pub road_name: String,
pub road_category: RoadCategory,
pub speed_band: u32,
pub min_speed: u32,
pub max_speed: u32,
pub start_lon: f64,
pub start_lat: f64,
pub end_lon: f64,
pub end_lat: f64,
}
Fields§
§link_id: u64
§road_name: String
§road_category: RoadCategory
§speed_band: u32
§min_speed: u32
§max_speed: u32
§start_lon: f64
§start_lat: f64
§end_lon: f64
§end_lat: f64
Trait Implementations§
source§impl Clone for TrafficSpeedBandRaw
impl Clone for TrafficSpeedBandRaw
source§fn clone(&self) -> TrafficSpeedBandRaw
fn clone(&self) -> TrafficSpeedBandRaw
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 TrafficSpeedBandRaw
impl Debug for TrafficSpeedBandRaw
source§impl<'de> Deserialize<'de> for TrafficSpeedBandRaw
impl<'de> Deserialize<'de> for TrafficSpeedBandRaw
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<TrafficSpeedBandRaw> for TrafficSpeedBand
impl From<TrafficSpeedBandRaw> for TrafficSpeedBand
source§fn from(r: TrafficSpeedBandRaw) -> Self
fn from(r: TrafficSpeedBandRaw) -> Self
Converts to this type from the input type.
source§impl PartialEq for TrafficSpeedBandRaw
impl PartialEq for TrafficSpeedBandRaw
source§fn eq(&self, other: &TrafficSpeedBandRaw) -> bool
fn eq(&self, other: &TrafficSpeedBandRaw) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TrafficSpeedBandRaw
impl Serialize for TrafficSpeedBandRaw
impl StructuralPartialEq for TrafficSpeedBandRaw
Auto Trait Implementations§
impl RefUnwindSafe for TrafficSpeedBandRaw
impl Send for TrafficSpeedBandRaw
impl Sync for TrafficSpeedBandRaw
impl Unpin for TrafficSpeedBandRaw
impl UnwindSafe for TrafficSpeedBandRaw
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