Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.ReportStoryResult
Synopsis
Documentation
data ReportStoryResult Source #
Describes result of story report
Constructors
ReportStoryResultOk | The story was reported successfully |
ReportStoryResultOptionRequired | The user must choose an option to report the story and repeat request with the chosen option |
ReportStoryResultTextRequired | The user must add additional text details to the report |
Fields
|
Instances
FromJSON ReportStoryResult Source # | |
Defined in TD.Data.ReportStoryResult Methods parseJSON :: Value -> Parser ReportStoryResult # parseJSONList :: Value -> Parser [ReportStoryResult] # | |
Show ReportStoryResult Source # | |
Defined in TD.Data.ReportStoryResult Methods showsPrec :: Int -> ReportStoryResult -> ShowS # show :: ReportStoryResult -> String # showList :: [ReportStoryResult] -> ShowS # | |
Eq ReportStoryResult Source # | |
Defined in TD.Data.ReportStoryResult Methods (==) :: ReportStoryResult -> ReportStoryResult -> Bool # (/=) :: ReportStoryResult -> ReportStoryResult -> Bool # | |
ShortShow ReportStoryResult Source # | |
Defined in TD.Data.ReportStoryResult Methods shortShow :: ReportStoryResult -> String Source # |