Enum gtfs_structures::ExactTimes
source · pub enum ExactTimes {
FrequencyBased,
ScheduleBased,
}
Expand description
Defines if the [Frequency] is exact (the vehicle runs exactly every n minutes) or not
Variants§
FrequencyBased
Frequency-based trips
ScheduleBased
Schedule-based trips with the exact same headway throughout the day.
Trait Implementations§
source§impl Clone for ExactTimes
impl Clone for ExactTimes
source§fn clone(&self) -> ExactTimes
fn clone(&self) -> ExactTimes
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 ExactTimes
impl Debug for ExactTimes
source§impl<'de> Deserialize<'de> for ExactTimes
impl<'de> Deserialize<'de> for ExactTimes
source§fn deserialize<D>(deserializer: D) -> Result<ExactTimes, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ExactTimes, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ExactTimes> for ExactTimes
impl PartialEq<ExactTimes> for ExactTimes
source§fn eq(&self, other: &ExactTimes) -> bool
fn eq(&self, other: &ExactTimes) -> bool
source§impl Serialize for ExactTimes
impl Serialize for ExactTimes
impl Copy for ExactTimes
impl Eq for ExactTimes
impl StructuralEq for ExactTimes
impl StructuralPartialEq for ExactTimes
Auto Trait Implementations§
impl RefUnwindSafe for ExactTimes
impl Send for ExactTimes
impl Sync for ExactTimes
impl Unpin for ExactTimes
impl UnwindSafe for ExactTimes
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.