pub enum GetRoadWorksResponse {
Ok(Vec<RoadDetails>),
UnexpectedStatus(StatusCode, Vec<u8>),
}Expand description
Returns road works currently in progress or planned, together with event details and the responsible agency.
Update freq: 24 hours – whenever there are updates
Variants§
Trait Implementations§
Source§impl Clone for GetRoadWorksResponse
impl Clone for GetRoadWorksResponse
Source§fn clone(&self) -> GetRoadWorksResponse
fn clone(&self) -> GetRoadWorksResponse
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 GetRoadWorksResponse
impl Debug for GetRoadWorksResponse
Source§impl PartialEq for GetRoadWorksResponse
impl PartialEq for GetRoadWorksResponse
impl StructuralPartialEq for GetRoadWorksResponse
Auto Trait Implementations§
impl Freeze for GetRoadWorksResponse
impl RefUnwindSafe for GetRoadWorksResponse
impl Send for GetRoadWorksResponse
impl Sync for GetRoadWorksResponse
impl Unpin for GetRoadWorksResponse
impl UnsafeUnpin for GetRoadWorksResponse
impl UnwindSafe for GetRoadWorksResponse
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