github-0.26: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.RateLimit

Description

 
Synopsis

Documentation

data Limits Source #

Constructors

Limits 
Instances
Eq Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

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

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

Ord Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Show Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Generic Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Associated Types

type Rep Limits :: Type -> Type #

Methods

from :: Limits -> Rep Limits x #

to :: Rep Limits x -> Limits #

FromJSON Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Binary Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

put :: Limits -> Put #

get :: Get Limits #

putList :: [Limits] -> Put #

NFData Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

rnf :: Limits -> () #

type Rep Limits Source # 
Instance details

Defined in GitHub.Data.RateLimit

type Rep Limits = D1 (MetaData "Limits" "GitHub.Data.RateLimit" "github-0.26-NGv9yMkIfb3ssAFkCPufN" False) (C1 (MetaCons "Limits" PrefixI True) (S1 (MetaSel (Just "limitsMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "limitsRemaining") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "limitsReset") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SystemTime))))

data RateLimit Source #

Instances
Eq RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Ord RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Show RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Generic RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Associated Types

type Rep RateLimit :: Type -> Type #

FromJSON RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Binary RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

NFData RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

Methods

rnf :: RateLimit -> () #

type Rep RateLimit Source # 
Instance details

Defined in GitHub.Data.RateLimit

type Rep RateLimit = D1 (MetaData "RateLimit" "GitHub.Data.RateLimit" "github-0.26-NGv9yMkIfb3ssAFkCPufN" False) (C1 (MetaCons "RateLimit" PrefixI True) (S1 (MetaSel (Just "rateLimitCore") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Limits) :*: (S1 (MetaSel (Just "rateLimitSearch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Limits) :*: S1 (MetaSel (Just "rateLimitGraphQL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Limits))))