gtfs-realtime-0.2.0.0: GTFS RealTime protobafs library (autogenerated from .proto file)

Safe HaskellNone
LanguageHaskell2010

GTFS.RealTime.Protobuf.Alert.Cause

Documentation

data Cause Source #

Instances
Bounded Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Enum Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Eq Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Methods

(==) :: Cause -> Cause -> Bool #

(/=) :: Cause -> Cause -> Bool #

Data Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cause -> c Cause #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cause #

toConstr :: Cause -> Constr #

dataTypeOf :: Cause -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cause) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cause) #

gmapT :: (forall b. Data b => b -> b) -> Cause -> Cause #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cause -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cause -> r #

gmapQ :: (forall d. Data d => d -> u) -> Cause -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Cause -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cause -> m Cause #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cause -> m Cause #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cause -> m Cause #

Ord Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Methods

compare :: Cause -> Cause -> Ordering #

(<) :: Cause -> Cause -> Bool #

(<=) :: Cause -> Cause -> Bool #

(>) :: Cause -> Cause -> Bool #

(>=) :: Cause -> Cause -> Bool #

max :: Cause -> Cause -> Cause #

min :: Cause -> Cause -> Cause #

Read Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Show Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Methods

showsPrec :: Int -> Cause -> ShowS #

show :: Cause -> String #

showList :: [Cause] -> ShowS #

Generic Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Associated Types

type Rep Cause :: Type -> Type #

Methods

from :: Cause -> Rep Cause x #

to :: Rep Cause x -> Cause #

ToJSON Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

FromJSON Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

GPB Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Wire Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

TextType Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Methods

tellT :: String -> Cause -> Output #

getT :: Stream s Identity Char => String -> Parsec s () Cause #

ReflectEnum Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Mergeable Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Default Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Methods

defaultValue :: Cause #

MessageAPI msg' (msg' -> Cause) Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

Methods

getVal :: msg' -> (msg' -> Cause) -> Cause #

isSet :: msg' -> (msg' -> Cause) -> Bool #

type Rep Cause Source # 
Instance details

Defined in GTFS.RealTime.Protobuf.Alert.Cause

type Rep Cause = D1 (MetaData "Cause" "GTFS.RealTime.Protobuf.Alert.Cause" "gtfs-realtime-0.2.0.0-GVLF04g8RQaC92wbtyYuSk" False) (((C1 (MetaCons "UNKNOWN_CAUSE" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "OTHER_CAUSE" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TECHNICAL_PROBLEM" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "STRIKE" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DEMONSTRATION" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ACCIDENT" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "HOLIDAY" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "WEATHER" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MAINTENANCE" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "CONSTRUCTION" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "POLICE_ACTIVITY" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MEDICAL_EMERGENCY" PrefixI False) (U1 :: Type -> Type)))))