pub struct RoadDetails {
pub event_id: EventId,
pub start_date: Date,
pub end_date: Date,
pub service_dept: String,
pub road_name: String,
pub other: String,
}Fields§
§event_id: EventIdUnique identifier of a road work or road opening event.
start_date: DateDate on which the road work starts.
end_date: DateDate on which the road work ends.
service_dept: StringAgency responsible for the road work.
road_name: StringName of the road affected by the road work.
other: StringAdditional information about the road work.
Trait Implementations§
Source§impl Clone for RoadDetails
impl Clone for RoadDetails
Source§fn clone(&self) -> RoadDetails
fn clone(&self) -> RoadDetails
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 RoadDetails
impl Debug for RoadDetails
Source§impl<'de> Deserialize<'de> for RoadDetails
impl<'de> Deserialize<'de> for RoadDetails
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 RoadDetails
impl PartialEq for RoadDetails
Source§impl Serialize for RoadDetails
impl Serialize for RoadDetails
impl StructuralPartialEq for RoadDetails
Auto Trait Implementations§
impl Freeze for RoadDetails
impl RefUnwindSafe for RoadDetails
impl Send for RoadDetails
impl Sync for RoadDetails
impl Unpin for RoadDetails
impl UnsafeUnpin for RoadDetails
impl UnwindSafe for RoadDetails
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