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