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