| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
GitHub.Data.RateLimit
Synopsis
- data Limits = Limits {
- limitsMax :: !Int
- limitsRemaining :: !Int
- limitsReset :: !SystemTime
- data RateLimit = RateLimit {}
- limitsFromHttpResponse :: Response a -> Maybe Limits
Documentation
Constructors
| Limits | |
Fields
| |
Instances
| FromJSON Limits Source # | |
| Generic Limits Source # | |
| Show Limits Source # | |
| Binary Limits Source # | |
| NFData Limits Source # | |
Defined in GitHub.Data.RateLimit | |
| Eq Limits Source # | |
| Ord Limits Source # | |
| type Rep Limits Source # | |
Defined in GitHub.Data.RateLimit type Rep Limits = D1 ('MetaData "Limits" "GitHub.Data.RateLimit" "github-0.29-8pCAynMhaqD8pNGAeWnyh4" '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)))) | |
Constructors
| RateLimit | |
Fields | |
Instances
| FromJSON RateLimit Source # | |
| Generic RateLimit Source # | |
| Show RateLimit Source # | |
| Binary RateLimit Source # | |
| NFData RateLimit Source # | |
Defined in GitHub.Data.RateLimit | |
| Eq RateLimit Source # | |
| Ord RateLimit Source # | |
| type Rep RateLimit Source # | |
Defined in GitHub.Data.RateLimit type Rep RateLimit = D1 ('MetaData "RateLimit" "GitHub.Data.RateLimit" "github-0.29-8pCAynMhaqD8pNGAeWnyh4" '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)))) | |