pub enum Effect {
Show 32 variants
AccessIssue,
AdditionalService,
AmberAlert,
BikeIssue,
Cancellation,
Delay,
Detour,
DockClosure,
DockIssue,
ElevatorClosure,
EscalatorClosure,
ExtraService,
FacilityIssue,
ModifiedService,
NoService,
OtherEffect,
ParkingClosure,
ParkingIssue,
PolicyChange,
ScheduleChange,
ServiceChange,
Shuttle,
SnowRoute,
StationClosure,
StationIssue,
StopClosure,
StopMove,
StopMoved,
Summary,
Suspension,
TrackChange,
UnknownEffect,
}Expand description
The effect of a problem on an affected entity.
Variants§
AccessIssue
Access issue.
AdditionalService
Additional service.
AmberAlert
Amber alert.
BikeIssue
Bike issue.
Cancellation
Cancellation.
Delay
Delay.
Detour
Detour.
DockClosure
Dock closure.
DockIssue
Dock issue.
ElevatorClosure
Elevator closure.
EscalatorClosure
Escalator closure.
ExtraService
Extra service.
FacilityIssue
Facility issue.
ModifiedService
Modified service.
NoService
No service.
OtherEffect
Other effect.
ParkingClosure
Parking closure.
ParkingIssue
Parking issue.
PolicyChange
Policy change.
ScheduleChange
Schedule change.
ServiceChange
Service change.
Shuttle
Shuttle.
SnowRoute
Snow route.
StationClosure
Station closure.
StationIssue
Station issue.
StopClosure
Stop closure.
StopMove
Stop move.
StopMoved
Stop moved.
Summary
Summary.
Suspension
Suspension.
TrackChange
Track change.
UnknownEffect
Unknown effect.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Effect
impl<'de> Deserialize<'de> for Effect
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
impl Copy for Effect
impl StructuralPartialEq for Effect
Auto Trait Implementations§
impl Freeze for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnwindSafe for Effect
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more