Enum gtfs_rt::feed_header::Incrementality
source · pub enum Incrementality {
FullDataset,
Differential,
}
Expand description
Determines whether the current fetch is incremental. Currently, DIFFERENTIAL mode is unsupported and behavior is unspecified for feeds that use this mode. There are discussions on the GTFS Realtime mailing list around fully specifying the behavior of DIFFERENTIAL mode and the documentation will be updated when those discussions are finalized.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for Incrementality
impl Clone for Incrementality
source§fn clone(&self) -> Incrementality
fn clone(&self) -> Incrementality
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 Incrementality
impl Debug for Incrementality
source§impl Default for Incrementality
impl Default for Incrementality
source§fn default() -> Incrementality
fn default() -> Incrementality
Returns the “default value” for a type. Read more
source§impl From<Incrementality> for i32
impl From<Incrementality> for i32
source§fn from(value: Incrementality) -> i32
fn from(value: Incrementality) -> i32
Converts to this type from the input type.
source§impl Hash for Incrementality
impl Hash for Incrementality
source§impl Ord for Incrementality
impl Ord for Incrementality
source§fn cmp(&self, other: &Incrementality) -> Ordering
fn cmp(&self, other: &Incrementality) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Incrementality> for Incrementality
impl PartialEq<Incrementality> for Incrementality
source§fn eq(&self, other: &Incrementality) -> bool
fn eq(&self, other: &Incrementality) -> bool
source§impl PartialOrd<Incrementality> for Incrementality
impl PartialOrd<Incrementality> for Incrementality
source§fn partial_cmp(&self, other: &Incrementality) -> Option<Ordering>
fn partial_cmp(&self, other: &Incrementality) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more