calamity-0.1.14.7: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Guild.Permissions

Description

Guild permissions

Documentation

newtype Permissions Source #

Constructors

Permissions Word64 

Instances

Instances details
Eq Permissions Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Permissions

Show Permissions Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Permissions

TextShow Permissions Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Permissions

FromJSON Permissions Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Permissions

Methods

parseJSON :: Value -> Parser Permissions

parseJSONList :: Value -> Parser [Permissions]

ToJSON Permissions Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Permissions

Methods

toJSON :: Permissions -> Value

toEncoding :: Permissions -> Encoding

toJSONList :: [Permissions] -> Value

toEncodingList :: [Permissions] -> Encoding

BoundedFlags Permissions Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Permissions

Flags Permissions Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Permissions