Struct vrp_core::models::common::TimeInterval [−][src]
Specifies a flexible time interval.
Fields
earliest: Option<Timestamp>Earliest possible time to start.
latest: Option<Timestamp>Latest possible time to stop.
Implementations
impl TimeInterval[src]
impl TimeInterval[src]pub fn to_time_window(&self) -> TimeWindow[src]
Converts time interval to time window.
Trait Implementations
impl Clone for TimeInterval[src]
impl Clone for TimeInterval[src]fn clone(&self) -> TimeInterval[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for TimeInterval[src]
impl Default for TimeInterval[src]impl Eq for TimeInterval[src]
impl Eq for TimeInterval[src]impl Hash for TimeInterval[src]
impl Hash for TimeInterval[src]Auto Trait Implementations
impl RefUnwindSafe for TimeInterval
impl RefUnwindSafe for TimeIntervalimpl Send for TimeInterval
impl Send for TimeIntervalimpl Sync for TimeInterval
impl Sync for TimeIntervalimpl Unpin for TimeInterval
impl Unpin for TimeIntervalimpl UnwindSafe for TimeInterval
impl UnwindSafe for TimeInterval