pub struct RouteStop {
pub customer_id: usize,
pub customer_name: String,
pub arrival: i64,
pub departure: i64,
}Expand description
One stop in the vehicle’s route.
Fields§
§customer_id: usize§customer_name: String§arrival: i64§departure: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteStop
impl<'de> Deserialize<'de> for RouteStop
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
Auto Trait Implementations§
impl Freeze for RouteStop
impl RefUnwindSafe for RouteStop
impl Send for RouteStop
impl Sync for RouteStop
impl Unpin for RouteStop
impl UnsafeUnpin for RouteStop
impl UnwindSafe for RouteStop
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