pub enum GTFSFareTransferType {
FromLegPlusTransfer = 0,
FromLegTransferToLeg = 1,
TransferOnly = 2,
}Expand description
Fare transfer type describing how costs are processed between consecutive legs:
0 = (A) + (AB) 1 = (A) + (AB) + (B) 2 = (AB)
Variants§
Trait Implementations§
Source§impl Clone for GTFSFareTransferType
impl Clone for GTFSFareTransferType
Source§fn clone(&self) -> GTFSFareTransferType
fn clone(&self) -> GTFSFareTransferType
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 GTFSFareTransferType
impl Debug for GTFSFareTransferType
Source§impl From<i8> for GTFSFareTransferType
impl From<i8> for GTFSFareTransferType
Source§impl Hash for GTFSFareTransferType
impl Hash for GTFSFareTransferType
Source§impl Ord for GTFSFareTransferType
impl Ord for GTFSFareTransferType
Source§impl PartialEq for GTFSFareTransferType
impl PartialEq for GTFSFareTransferType
Source§impl PartialOrd for GTFSFareTransferType
impl PartialOrd for GTFSFareTransferType
impl Copy for GTFSFareTransferType
impl Eq for GTFSFareTransferType
impl StructuralPartialEq for GTFSFareTransferType
Auto Trait Implementations§
impl Freeze for GTFSFareTransferType
impl RefUnwindSafe for GTFSFareTransferType
impl Send for GTFSFareTransferType
impl Sync for GTFSFareTransferType
impl Unpin for GTFSFareTransferType
impl UnwindSafe for GTFSFareTransferType
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