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

Calamity.Types.Model.Guild.Role

Description

Guild roles

Documentation

data Role Source #

Constructors

Role 

Instances

Instances details
Eq Role Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Role

Methods

(==) :: Role -> Role -> Bool #

(/=) :: Role -> Role -> Bool #

Show Role Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Role

Methods

showsPrec :: Int -> Role -> ShowS #

show :: Role -> String #

showList :: [Role] -> ShowS #

Generic Role Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Role

Associated Types

type Rep Role :: Type -> Type #

Methods

from :: Role -> Rep Role x #

to :: Rep Role x -> Role #

FromJSON Role Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Role

Methods

parseJSON :: Value -> Parser Role

parseJSONList :: Value -> Parser [Role]

ToJSON Role Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Role

Methods

toJSON :: Role -> Value

toEncoding :: Role -> Encoding

toJSONList :: [Role] -> Value

toEncodingList :: [Role] -> Encoding

TextShow Role Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Role

HasID Role Role Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Role

type Rep Role Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Role