| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Simplex.Chat.Types.Shared
Documentation
data GroupMemberRole Source #
Constructors
| GRUnknown Text | |
| GRRelay | |
| GRObserver | |
| GRAuthor | |
| GRMember | |
| GRModerator | |
| GRAdmin | |
| GROwner |
Instances
data GroupAcceptance Source #
Constructors
| GAAccepted | |
| GAPendingApproval | |
| GAPendingReview |
Instances
data RelayStatus Source #
Constructors
| RSNew | |
| RSInvited | |
| RSAccepted | |
| RSActive | |
| RSInactive |
Instances
| FromJSON RelayStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods parseJSON :: Value -> Parser RelayStatus parseJSONList :: Value -> Parser [RelayStatus] omittedField :: Maybe RelayStatus | |
| ToJSON RelayStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods toJSON :: RelayStatus -> Value toEncoding :: RelayStatus -> Encoding toJSONList :: [RelayStatus] -> Value toEncodingList :: [RelayStatus] -> Encoding omitField :: RelayStatus -> Bool | |
| Show RelayStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods showsPrec :: Int -> RelayStatus -> ShowS show :: RelayStatus -> String showList :: [RelayStatus] -> ShowS | |
| Eq RelayStatus Source # | |
Defined in Simplex.Chat.Types.Shared | |
| TextEncoding RelayStatus Source # | |
Defined in Simplex.Chat.Types.Shared | |
| FromField RelayStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods fromField :: FieldParser RelayStatus # | |
| ToField RelayStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods toField :: RelayStatus -> SQLData # | |
relayStatusText :: RelayStatus -> Text Source #
data MsgSigStatus Source #
Constructors
| MSSVerified | |
| MSSSignedNoKey |
Instances
| FromJSON MsgSigStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods parseJSON :: Value -> Parser MsgSigStatus parseJSONList :: Value -> Parser [MsgSigStatus] omittedField :: Maybe MsgSigStatus | |
| ToJSON MsgSigStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods toJSON :: MsgSigStatus -> Value toEncoding :: MsgSigStatus -> Encoding toJSONList :: [MsgSigStatus] -> Value toEncodingList :: [MsgSigStatus] -> Encoding omitField :: MsgSigStatus -> Bool | |
| Show MsgSigStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods showsPrec :: Int -> MsgSigStatus -> ShowS show :: MsgSigStatus -> String showList :: [MsgSigStatus] -> ShowS | |
| Eq MsgSigStatus Source # | |
Defined in Simplex.Chat.Types.Shared | |
| TextEncoding MsgSigStatus Source # | |
Defined in Simplex.Chat.Types.Shared | |
| FromField MsgSigStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods fromField :: FieldParser MsgSigStatus # | |
| ToField MsgSigStatus Source # | |
Defined in Simplex.Chat.Types.Shared Methods toField :: MsgSigStatus -> SQLData # | |