Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq InMessage # | |
Show InMessage # | |
Generic InMessage # | |
ToJSON InMessage # | |
Defined in ServerMessages | |
FromJSON InMessage # | |
type Rep InMessage # | |
Defined in ServerMessages
type Rep InMessage = D1 (MetaData "InMessage" "ServerMessages" "main" False) ((C1 (MetaCons "CreateUser" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UserName)) :+: C1 (MetaCons "InviteUser" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 UserName))) :+: (C1 (MetaCons "DropInvitation" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AcceptInvitation" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "RejectInvitation" PrefixI False) (U1 :: Type -> Type)))) |
data UserCreationError #
Instances
Eq UserCreationError # | |
Defined in ServerMessages (==) :: UserCreationError -> UserCreationError -> Bool # (/=) :: UserCreationError -> UserCreationError -> Bool # | |
Show UserCreationError # | |
Defined in ServerMessages showsPrec :: Int -> UserCreationError -> ShowS # show :: UserCreationError -> String # showList :: [UserCreationError] -> ShowS # | |
Generic UserCreationError # | |
Defined in ServerMessages type Rep UserCreationError :: Type -> Type # from :: UserCreationError -> Rep UserCreationError x # to :: Rep UserCreationError x -> UserCreationError # | |
ToJSON UserCreationError # | |
Defined in ServerMessages toJSON :: UserCreationError -> Value # toEncoding :: UserCreationError -> Encoding # toJSONList :: [UserCreationError] -> Value # toEncodingList :: [UserCreationError] -> Encoding # | |
FromJSON UserCreationError # | |
Defined in ServerMessages parseJSON :: Value -> Parser UserCreationError # parseJSONList :: Value -> Parser [UserCreationError] # | |
type Rep UserCreationError # | |
data OutMessage #