pub enum GTFSTransferType {
Recommended = 0,
Timed = 1,
MinTimeRequired = 2,
NotPossible = 3,
InSeatTransfer = 4,
InSeatNotAllowed = 5,
}Expand description
TransferType enumerates how a rider can transfer between routes/trips/stops:
- 0 or empty = Recommended transfer
- 1 = Timed transfer
- 2 = Requires a minimum transfer time
- 3 = Transfers not possible
- 4 = In-seat transfer (stay onboard, same vehicle)
- 5 = In-seat transfers not allowed
Variants§
Recommended = 0
0 = Recommended transfer
Timed = 1
1 = Timed transfer
MinTimeRequired = 2
2 = Requires a minimum transfer time
NotPossible = 3
3 = Transfers not possible
InSeatTransfer = 4
4 = In-seat transfer (stay onboard, same vehicle)
InSeatNotAllowed = 5
5 = In-seat transfers not allowed
Trait Implementations§
Source§impl Clone for GTFSTransferType
impl Clone for GTFSTransferType
Source§fn clone(&self) -> GTFSTransferType
fn clone(&self) -> GTFSTransferType
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 GTFSTransferType
impl Debug for GTFSTransferType
Source§impl From<i8> for GTFSTransferType
impl From<i8> for GTFSTransferType
Source§impl Hash for GTFSTransferType
impl Hash for GTFSTransferType
Source§impl Ord for GTFSTransferType
impl Ord for GTFSTransferType
Source§impl PartialEq for GTFSTransferType
impl PartialEq for GTFSTransferType
Source§impl PartialOrd for GTFSTransferType
impl PartialOrd for GTFSTransferType
impl Copy for GTFSTransferType
impl Eq for GTFSTransferType
impl StructuralPartialEq for GTFSTransferType
Auto Trait Implementations§
impl Freeze for GTFSTransferType
impl RefUnwindSafe for GTFSTransferType
impl Send for GTFSTransferType
impl Sync for GTFSTransferType
impl Unpin for GTFSTransferType
impl UnwindSafe for GTFSTransferType
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