pub enum GetTrafficSpeedBandsResponse {
Ok(Vec<TrafficSpeedBand>),
UnexpectedStatus(StatusCode, Vec<u8>),
}Expand description
Returns current traffic speeds on expressways and arterial roads, expressed in speed bands.
Update freq: 5 min
Variants§
Ok(Vec<TrafficSpeedBand>)
Successful Traffic Speed Bands response.
UnexpectedStatus(StatusCode, Vec<u8>)
Trait Implementations§
Source§impl Clone for GetTrafficSpeedBandsResponse
impl Clone for GetTrafficSpeedBandsResponse
Source§fn clone(&self) -> GetTrafficSpeedBandsResponse
fn clone(&self) -> GetTrafficSpeedBandsResponse
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 GetTrafficSpeedBandsResponse
impl Debug for GetTrafficSpeedBandsResponse
Source§impl PartialEq for GetTrafficSpeedBandsResponse
impl PartialEq for GetTrafficSpeedBandsResponse
Source§fn eq(&self, other: &GetTrafficSpeedBandsResponse) -> bool
fn eq(&self, other: &GetTrafficSpeedBandsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetTrafficSpeedBandsResponse
Auto Trait Implementations§
impl Freeze for GetTrafficSpeedBandsResponse
impl RefUnwindSafe for GetTrafficSpeedBandsResponse
impl Send for GetTrafficSpeedBandsResponse
impl Sync for GetTrafficSpeedBandsResponse
impl Unpin for GetTrafficSpeedBandsResponse
impl UnsafeUnpin for GetTrafficSpeedBandsResponse
impl UnwindSafe for GetTrafficSpeedBandsResponse
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