pub enum DisruptionEffectType {
Show 13 variants
Diversion,
Cancel,
PartialCancel,
LongerTravelTime,
OppositeTrackZs6,
OppositeTrackZs8,
HoldingBack,
TotalClosure,
DeviationFromTimetable,
WithoutDeviationFromRoute,
DiversionUnderSimplifiedConditions,
Other,
Unknown(String),
}
Variants§
Diversion
Cancel
PartialCancel
LongerTravelTime
OppositeTrackZs6
OppositeTrackZs8
HoldingBack
TotalClosure
DeviationFromTimetable
WithoutDeviationFromRoute
DiversionUnderSimplifiedConditions
Other
Unknown(String)
Trait Implementations§
Source§impl Clone for DisruptionEffectType
impl Clone for DisruptionEffectType
Source§fn clone(&self) -> DisruptionEffectType
fn clone(&self) -> DisruptionEffectType
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 DisruptionEffectType
impl Debug for DisruptionEffectType
Source§impl<'de> Deserialize<'de> for DisruptionEffectType
impl<'de> Deserialize<'de> for DisruptionEffectType
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 Display for DisruptionEffectType
impl Display for DisruptionEffectType
Source§impl PartialEq for DisruptionEffectType
impl PartialEq for DisruptionEffectType
Source§impl Serialize for DisruptionEffectType
impl Serialize for DisruptionEffectType
impl StructuralPartialEq for DisruptionEffectType
Auto Trait Implementations§
impl Freeze for DisruptionEffectType
impl RefUnwindSafe for DisruptionEffectType
impl Send for DisruptionEffectType
impl Sync for DisruptionEffectType
impl Unpin for DisruptionEffectType
impl UnwindSafe for DisruptionEffectType
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