Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data StoryOrigin
- = StoryOriginPublicStory { }
- | StoryOriginHiddenUser {
- sender_name :: Maybe Text
Documentation
data StoryOrigin Source #
Contains information about the origin of a story that was reposted
StoryOriginPublicStory | The original story was a public story with known sender |
StoryOriginHiddenUser | The original story was sent by an unknown user |
|
Instances
FromJSON StoryOrigin Source # | |
Defined in TD.Data.StoryOrigin parseJSON :: Value -> Parser StoryOrigin # parseJSONList :: Value -> Parser [StoryOrigin] # | |
Show StoryOrigin Source # | |
Defined in TD.Data.StoryOrigin showsPrec :: Int -> StoryOrigin -> ShowS # show :: StoryOrigin -> String # showList :: [StoryOrigin] -> ShowS # | |
Eq StoryOrigin Source # | |
Defined in TD.Data.StoryOrigin (==) :: StoryOrigin -> StoryOrigin -> Bool # (/=) :: StoryOrigin -> StoryOrigin -> Bool # | |
ShortShow StoryOrigin Source # | |
Defined in TD.Data.StoryOrigin shortShow :: StoryOrigin -> String Source # |