| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.InputPollType
Synopsis
- data InputPollType
- = InputPollTypeRegular { }
- | InputPollTypeQuiz { }
Documentation
data InputPollType Source #
Describes the type of poll to send
Constructors
| InputPollTypeRegular | A regular poll |
Fields
| |
| InputPollTypeQuiz | A poll in quiz mode, which has predefined correct answers |
Fields
| |
Instances
| FromJSON InputPollType Source # | |
Defined in TD.Data.InputPollType Methods parseJSON :: Value -> Parser InputPollType # parseJSONList :: Value -> Parser [InputPollType] # | |
| ToJSON InputPollType Source # | |
Defined in TD.Data.InputPollType Methods toJSON :: InputPollType -> Value # toEncoding :: InputPollType -> Encoding # toJSONList :: [InputPollType] -> Value # toEncodingList :: [InputPollType] -> Encoding # | |
| Show InputPollType Source # | |
Defined in TD.Data.InputPollType Methods showsPrec :: Int -> InputPollType -> ShowS # show :: InputPollType -> String # showList :: [InputPollType] -> ShowS # | |
| Eq InputPollType Source # | |
Defined in TD.Data.InputPollType Methods (==) :: InputPollType -> InputPollType -> Bool # (/=) :: InputPollType -> InputPollType -> Bool # | |
| ShortShow InputPollType Source # | |
Defined in TD.Data.InputPollType Methods shortShow :: InputPollType -> String Source # | |