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