Enum gtfs_structures::BikesAllowedType
source · [−]pub enum BikesAllowedType {
NoBikeInfo,
AtLeastOneBike,
NoBikesAllowed,
Unknown(i32),
}
Expand description
Is the [Trip] accessible with a bike. See https://gtfs.org/reference/static/#tripstxt bikes_allowed
Variants
NoBikeInfo
No bike information for the trip
AtLeastOneBike
Vehicle being used on this particular trip can accommodate at least one bicycle
NoBikesAllowed
No bicycles are allowed on this trip
Unknown(i32)
An unknown value not in the specification
Trait Implementations
sourceimpl Clone for BikesAllowedType
impl Clone for BikesAllowedType
sourcefn clone(&self) -> BikesAllowedType
fn clone(&self) -> BikesAllowedType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BikesAllowedType
impl Debug for BikesAllowedType
sourceimpl Default for BikesAllowedType
impl Default for BikesAllowedType
sourceimpl<'de> Deserialize<'de> for BikesAllowedType
impl<'de> Deserialize<'de> for BikesAllowedType
sourcefn deserialize<D>(deserializer: D) -> Result<BikesAllowedType, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<BikesAllowedType, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<BikesAllowedType> for BikesAllowedType
impl PartialEq<BikesAllowedType> for BikesAllowedType
sourcefn eq(&self, other: &BikesAllowedType) -> bool
fn eq(&self, other: &BikesAllowedType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BikesAllowedType) -> bool
fn ne(&self, other: &BikesAllowedType) -> bool
This method tests for !=
.
sourceimpl Serialize for BikesAllowedType
impl Serialize for BikesAllowedType
impl Copy for BikesAllowedType
impl StructuralPartialEq for BikesAllowedType
Auto Trait Implementations
impl RefUnwindSafe for BikesAllowedType
impl Send for BikesAllowedType
impl Sync for BikesAllowedType
impl Unpin for BikesAllowedType
impl UnwindSafe for BikesAllowedType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more