pub enum PickupDropoffType {
Normal,
NotAllowed,
Other(String),
}Expand description
Whether passengers may board or alight. Cancellations and skipped
stops show as PickupDropoffType::NotAllowed.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PickupDropoffType
impl Clone for PickupDropoffType
Source§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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PickupDropoffType
impl Display for PickupDropoffType
impl Eq for PickupDropoffType
Source§impl From<PickupDropoffType> for String
impl From<PickupDropoffType> for String
Source§fn from(value: PickupDropoffType) -> Self
fn from(value: PickupDropoffType) -> Self
Converts to this type from the input type.
Source§impl From<String> for PickupDropoffType
impl From<String> for PickupDropoffType
Source§impl Hash for PickupDropoffType
impl Hash for PickupDropoffType
Source§impl PartialEq for PickupDropoffType
impl PartialEq for PickupDropoffType
Source§impl Serialize for PickupDropoffType
impl Serialize for PickupDropoffType
impl StructuralPartialEq for PickupDropoffType
Auto Trait Implementations§
impl Forget for PickupDropoffType
impl Freeze for PickupDropoffType
impl Move for PickupDropoffType
impl RefUnwindSafe for PickupDropoffType
impl Send for PickupDropoffType
impl Sync for PickupDropoffType
impl Unpin for PickupDropoffType
impl UnsafeUnpin for PickupDropoffType
impl UnwindSafe for PickupDropoffType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.