Enum gtfs_structures::TimepointType
source · pub enum TimepointType {
Approximate = 0,
Exact = 1,
}
Expand description
Describes if the stop time is exact or not. See https://gtfs.org/reference/static/#stop_timestxt timepoint
Variants§
Trait Implementations§
source§impl Clone for TimepointType
impl Clone for TimepointType
source§fn clone(&self) -> TimepointType
fn clone(&self) -> TimepointType
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 TimepointType
impl Debug for TimepointType
source§impl Default for TimepointType
impl Default for TimepointType
source§impl<'de> Deserialize<'de> for TimepointType
impl<'de> Deserialize<'de> for TimepointType
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 PartialEq for TimepointType
impl PartialEq for TimepointType
source§fn eq(&self, other: &TimepointType) -> bool
fn eq(&self, other: &TimepointType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TimepointType
impl Serialize for TimepointType
impl Copy for TimepointType
impl Eq for TimepointType
impl StructuralPartialEq for TimepointType
Auto Trait Implementations§
impl Freeze for TimepointType
impl RefUnwindSafe for TimepointType
impl Send for TimepointType
impl Sync for TimepointType
impl Unpin for TimepointType
impl UnwindSafe for TimepointType
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<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.