pub struct Visit {Show 13 fields
pub id: String,
pub name: String,
pub location: Location,
pub time_windows: Vec<TimeWindow>,
pub service_duration: String,
pub priority: String,
pub required_skills: Vec<String>,
pub pinned: Option<bool>,
pub vehicle: Option<String>,
pub arrival_time: Option<String>,
pub departure_time: Option<String>,
pub start_service_time: Option<String>,
pub driving_time_seconds_from_previous_standstill: Option<i64>,
}Expand description
A visit (job/task) to be scheduled.
Fields§
§id: String§name: String§location: Location§time_windows: Vec<TimeWindow>§service_duration: String§priority: String§required_skills: Vec<String>§pinned: Option<bool>§vehicle: Option<String>§arrival_time: Option<String>§departure_time: Option<String>§start_service_time: Option<String>§driving_time_seconds_from_previous_standstill: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Visit
impl<'de> Deserialize<'de> for Visit
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 Visit
impl RefUnwindSafe for Visit
impl Send for Visit
impl Sync for Visit
impl Unpin for Visit
impl UnsafeUnpin for Visit
impl UnwindSafe for Visit
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