Expand description
A module to contain traits and structs that are needed by the rest of the git-bot-feedback crate’s API.
Structs§
- Github
ApiClient - A structure to work with Github REST API.
- Rest
ApiRate Limit Headers - A structure to contain the different forms of headers that describe a REST API’s rate limit status.
Statics§
- USER_
AGENT - The User-Agent header value included in all HTTP requests.
Traits§
- Rest
ApiClient - A custom trait that templates necessary functionality with a Git server’s REST API.
Functions§
- send_
api_ request - A convenience function to send HTTP requests and respect a REST API rate limits.