Struct lta_models::traffic::traffic_speed_bands::TrafficSpeedBand
source · pub struct TrafficSpeedBand {
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 TrafficSpeedBand
impl Clone for TrafficSpeedBand
source§fn clone(&self) -> TrafficSpeedBand
fn clone(&self) -> TrafficSpeedBand
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 TrafficSpeedBand
impl Debug for TrafficSpeedBand
source§impl<'de> Deserialize<'de> for TrafficSpeedBand
impl<'de> Deserialize<'de> for TrafficSpeedBand
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 TrafficSpeedBand
impl PartialEq for TrafficSpeedBand
source§fn eq(&self, other: &TrafficSpeedBand) -> bool
fn eq(&self, other: &TrafficSpeedBand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TrafficSpeedBand
impl Serialize for TrafficSpeedBand
impl StructuralPartialEq for TrafficSpeedBand
Auto Trait Implementations§
impl RefUnwindSafe for TrafficSpeedBand
impl Send for TrafficSpeedBand
impl Sync for TrafficSpeedBand
impl Unpin for TrafficSpeedBand
impl UnwindSafe for TrafficSpeedBand
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