pub enum GTFSDurationLimitType {
DepCurrentArrNext = 0,
DepCurrentDepNext = 1,
ArrCurrentDepNext = 2,
ArrCurrentArrNext = 3,
}Expand description
Duration limit type for how transfer durations are measured.
Required if duration_limit is defined, forbidden otherwise.
0 - Between departure of current leg & arrival of next leg 1 - Between departure of current leg & departure of next leg 2 - Between arrival of current leg & departure of next leg 3 - Between arrival of current leg & arrival of next leg
Variants§
DepCurrentArrNext = 0
Between departure of current leg & arrival of next leg
DepCurrentDepNext = 1
Between departure of current leg & departure of next leg
ArrCurrentDepNext = 2
Between arrival of current leg & departure of next leg
ArrCurrentArrNext = 3
Between arrival of current leg & arrival of next leg
Trait Implementations§
Source§impl Clone for GTFSDurationLimitType
impl Clone for GTFSDurationLimitType
Source§fn clone(&self) -> GTFSDurationLimitType
fn clone(&self) -> GTFSDurationLimitType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GTFSDurationLimitType
impl Debug for GTFSDurationLimitType
Source§impl From<i8> for GTFSDurationLimitType
impl From<i8> for GTFSDurationLimitType
Source§impl Hash for GTFSDurationLimitType
impl Hash for GTFSDurationLimitType
Source§impl Ord for GTFSDurationLimitType
impl Ord for GTFSDurationLimitType
Source§impl PartialEq for GTFSDurationLimitType
impl PartialEq for GTFSDurationLimitType
Source§impl PartialOrd for GTFSDurationLimitType
impl PartialOrd for GTFSDurationLimitType
impl Copy for GTFSDurationLimitType
impl Eq for GTFSDurationLimitType
impl StructuralPartialEq for GTFSDurationLimitType
Auto Trait Implementations§
impl Freeze for GTFSDurationLimitType
impl RefUnwindSafe for GTFSDurationLimitType
impl Send for GTFSDurationLimitType
impl Sync for GTFSDurationLimitType
impl Unpin for GTFSDurationLimitType
impl UnwindSafe for GTFSDurationLimitType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more