| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.StoryContentType
Documentation
data StoryContentType Source #
Contains the type of the content of a story
Constructors
| StoryContentTypePhoto | A photo story |
| StoryContentTypeVideo | A video story |
| StoryContentTypeLive | A live story |
| StoryContentTypeUnsupported | A story of unknown content type |
Instances
| FromJSON StoryContentType Source # | |
Defined in TD.Data.StoryContentType Methods parseJSON :: Value -> Parser StoryContentType # parseJSONList :: Value -> Parser [StoryContentType] # | |
| ToJSON StoryContentType Source # | |
Defined in TD.Data.StoryContentType Methods toJSON :: StoryContentType -> Value # toEncoding :: StoryContentType -> Encoding # toJSONList :: [StoryContentType] -> Value # toEncodingList :: [StoryContentType] -> Encoding # | |
| Show StoryContentType Source # | |
Defined in TD.Data.StoryContentType Methods showsPrec :: Int -> StoryContentType -> ShowS # show :: StoryContentType -> String # showList :: [StoryContentType] -> ShowS # | |
| Eq StoryContentType Source # | |
Defined in TD.Data.StoryContentType Methods (==) :: StoryContentType -> StoryContentType -> Bool # (/=) :: StoryContentType -> StoryContentType -> Bool # | |
| ShortShow StoryContentType Source # | |
Defined in TD.Data.StoryContentType Methods shortShow :: StoryContentType -> String Source # | |