listenbrainz-rs/src
Koen Bolhuis 508f697a51 Add rate limiting information to response types
Add the `rate_limit` field to all response types,
which contains rate limiting information such as
maximum and remaining requests in the current
time frame, as well as when the next time frame
starts.

All response types now also implement the `ResponseType`
trait (internal for now). Currently this trait allows
converting from `ureq::Response` to the response type,
by extracting rate limiting information from the response
headers and deserializing the response body into the
response type.
2021-01-30 03:06:02 +01:00
..
raw Add rate limiting information to response types 2021-01-30 03:06:02 +01:00
error.rs Represent invalid tokens with an error instead of a boolean 2021-01-20 00:52:10 +01:00
lib.rs Add example to crate root 2021-01-20 01:11:47 +01:00
wrapper.rs Update comment for ListenBrainz::playing_now 2021-01-30 02:31:57 +01:00