pub enum CarsAllowedType {
NoCarInfo,
AtLeastOneCar,
NoCarsAllowed,
Unknown(i16),
}Expand description
Is the crate::Trip accessible with a car. See https://gtfs.org/reference/static/#tripstxt bikes_allowed
Variants§
NoCarInfo
No car transport information for the trip
AtLeastOneCar
Vehicle being used on this particular trip can accommodate at least one car
NoCarsAllowed
No cars are allowed on this trip
Unknown(i16)
An unknown value not in the specification
Trait Implementations§
Source§impl Clone for CarsAllowedType
impl Clone for CarsAllowedType
impl Copy for CarsAllowedType
Source§impl Debug for CarsAllowedType
impl Debug for CarsAllowedType
Source§impl Default for CarsAllowedType
impl Default for CarsAllowedType
Source§impl<'de> Deserialize<'de> for CarsAllowedType
impl<'de> Deserialize<'de> for CarsAllowedType
Source§fn deserialize<D>(deserializer: D) -> Result<CarsAllowedType, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<CarsAllowedType, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CarsAllowedType
Source§impl Hash for CarsAllowedType
impl Hash for CarsAllowedType
Source§impl PartialEq for CarsAllowedType
impl PartialEq for CarsAllowedType
Source§impl Serialize for CarsAllowedType
impl Serialize for CarsAllowedType
impl StructuralPartialEq for CarsAllowedType
Auto Trait Implementations§
impl Freeze for CarsAllowedType
impl RefUnwindSafe for CarsAllowedType
impl Send for CarsAllowedType
impl Sync for CarsAllowedType
impl Unpin for CarsAllowedType
impl UnsafeUnpin for CarsAllowedType
impl UnwindSafe for CarsAllowedType
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.