pub struct TrafficImage {
pub camera_id: u32,
pub lat: f64,
pub long: f64,
pub image_link: String,
}Fields§
§camera_id: u32Numeric identifier of the traffic camera.
lat: f64Latitude of the traffic camera.
long: f64Longitude of the traffic camera.
image_link: StringURL of the latest image from the traffic camera.
Trait Implementations§
Source§impl Clone for TrafficImage
impl Clone for TrafficImage
Source§fn clone(&self) -> TrafficImage
fn clone(&self) -> TrafficImage
Returns a duplicate 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 PartialEq for TrafficImage
impl PartialEq for TrafficImage
Source§impl Serialize for TrafficImage
impl Serialize for TrafficImage
impl StructuralPartialEq for TrafficImage
Auto Trait Implementations§
impl Freeze for TrafficImage
impl RefUnwindSafe for TrafficImage
impl Send for TrafficImage
impl Sync for TrafficImage
impl Unpin for TrafficImage
impl UnsafeUnpin 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