calamity-0.1.11.1: A library for writing discord bots
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Presence.Presence

Description

User presences

Documentation

data Presence Source #

Instances

Instances details
Eq Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Show Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Generic Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Associated Types

type Rep Presence :: Type -> Type #

Methods

from :: Presence -> Rep Presence x #

to :: Rep Presence x -> Presence #

TextShow Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

FromJSON Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Methods

parseJSON :: Value -> Parser Presence

parseJSONList :: Value -> Parser [Presence]

ToJSON Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Methods

toJSON :: Presence -> Value

toEncoding :: Presence -> Encoding

toJSONList :: [Presence] -> Value

toEncodingList :: [Presence] -> Encoding

HasID Guild Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

HasID User Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

type Rep Presence Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

data ClientStatus Source #

Constructors

ClientStatus 

Instances

Instances details
Eq ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Show ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Generic ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Associated Types

type Rep ClientStatus :: Type -> Type #

TextShow ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

FromJSON ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Methods

parseJSON :: Value -> Parser ClientStatus

parseJSONList :: Value -> Parser [ClientStatus]

ToJSON ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

Methods

toJSON :: ClientStatus -> Value

toEncoding :: ClientStatus -> Encoding

toJSONList :: [ClientStatus] -> Value

toEncodingList :: [ClientStatus] -> Encoding

type Rep ClientStatus Source # 
Instance details

Defined in Calamity.Types.Model.Presence.Presence

type Rep ClientStatus = D1 ('MetaData "ClientStatus" "Calamity.Types.Model.Presence.Presence" "calamity-0.1.11.1-inplace" 'False) (C1 ('MetaCons "ClientStatus" 'PrefixI 'True) (S1 ('MetaSel ('Just "desktop") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mobile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "web") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))