pub enum PickupDropOffType {
Regular,
NotAvailable,
ArrangeByPhone,
CoordinateWithDriver,
Unknown(i32),
}
Expand description
Describes if and how a traveller can board or alight the vehicle. See https://gtfs.org/reference/static/#stop_timestxt pickup_type
and dropoff_type
Variants§
Regular
Regularly scheduled pickup or drop off (default when empty).
NotAvailable
No pickup or drop off available.
ArrangeByPhone
Must phone agency to arrange pickup or drop off.
CoordinateWithDriver
Must coordinate with driver to arrange pickup or drop off.
Unknown(i32)
An unknown value not in the specification
Trait Implementations§
source§impl Clone for PickupDropOffType
impl Clone for PickupDropOffType
source§fn clone(&self) -> PickupDropOffType
fn clone(&self) -> PickupDropOffType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PickupDropOffType
impl Debug for PickupDropOffType
source§impl Default for PickupDropOffType
impl Default for PickupDropOffType
source§impl<'de> Deserialize<'de> for PickupDropOffType
impl<'de> Deserialize<'de> for PickupDropOffType
source§fn deserialize<D>(deserializer: D) -> Result<PickupDropOffType, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<PickupDropOffType, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PickupDropOffType> for PickupDropOffType
impl PartialEq<PickupDropOffType> for PickupDropOffType
source§fn eq(&self, other: &PickupDropOffType) -> bool
fn eq(&self, other: &PickupDropOffType) -> bool
source§impl Serialize for PickupDropOffType
impl Serialize for PickupDropOffType
impl Copy for PickupDropOffType
impl Eq for PickupDropOffType
impl StructuralEq for PickupDropOffType
impl StructuralPartialEq for PickupDropOffType
Auto Trait Implementations§
impl RefUnwindSafe for PickupDropOffType
impl Send for PickupDropOffType
impl Sync for PickupDropOffType
impl Unpin for PickupDropOffType
impl UnwindSafe for PickupDropOffType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.