We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RateLimit::reset
u64
Re this line:
octocrab/src/models.rs
Line 959 in 131ddc0
The GitHub REST API docs describe the corresponding header (x-ratelimit-reset) as "UTC epoch seconds".
x-ratelimit-reset
This suggests that users should pass the value to Duration::from_secs.
Duration::from_secs
Since Duration::from_secs expects a u64, should this field be a u64?
The text was updated successfully, but these errors were encountered:
Thank you for your issue! Yeah I think that's a reasonable change.
Sorry, something went wrong.
Rate::reset
Successfully merging a pull request may close this issue.
Re this line:
octocrab/src/models.rs
Line 959 in 131ddc0
The GitHub REST API docs describe the corresponding header (
x-ratelimit-reset
) as "UTC epoch seconds".This suggests that users should pass the value to
Duration::from_secs
.Since
Duration::from_secs
expects au64
, should this field be au64
?The text was updated successfully, but these errors were encountered: