pub enum GTFSRouteType {
Tram = 0,
Subway = 1,
Rail = 2,
Bus = 3,
Ferry = 4,
CableTram = 5,
AerialLift = 6,
Funicular = 7,
Trolleybus = 11,
Monorail = 12,
}Expand description
Indicates the type of transportation used on a route. Valid options include: 0 - Tram 1 - Subway 2 - Rail 3 - Bus 4 - Ferry, 5 - Cable tram 6 - Aerial lift 7 - Funicular, 11 - Trolleybus 12 - Monorail.
Variants§
Tram = 0
0 - Tram
Subway = 1
1 - Subway
Rail = 2
2 - Rail
Bus = 3
3 - Bus
Ferry = 4
4 - Ferry
CableTram = 5
5 - Cable tram
AerialLift = 6
6 - Aerial lift
Funicular = 7
7 - Funicular
Trolleybus = 11
11 - Trolleybus
Monorail = 12
12 - Monorail
Trait Implementations§
Source§impl Clone for GTFSRouteType
impl Clone for GTFSRouteType
Source§fn clone(&self) -> GTFSRouteType
fn clone(&self) -> GTFSRouteType
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 GTFSRouteType
impl Debug for GTFSRouteType
Source§impl From<i8> for GTFSRouteType
impl From<i8> for GTFSRouteType
Source§impl Hash for GTFSRouteType
impl Hash for GTFSRouteType
Source§impl Ord for GTFSRouteType
impl Ord for GTFSRouteType
Source§impl PartialEq for GTFSRouteType
impl PartialEq for GTFSRouteType
Source§impl PartialOrd for GTFSRouteType
impl PartialOrd for GTFSRouteType
impl Copy for GTFSRouteType
impl Eq for GTFSRouteType
impl StructuralPartialEq for GTFSRouteType
Auto Trait Implementations§
impl Freeze for GTFSRouteType
impl RefUnwindSafe for GTFSRouteType
impl Send for GTFSRouteType
impl Sync for GTFSRouteType
impl Unpin for GTFSRouteType
impl UnwindSafe for GTFSRouteType
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