pub struct Tally {
pub fresh: u64,
pub unchanged: u64,
pub refused: u64,
}Expand description
How many requests of one class got each kind of answer.
Fields§
§fresh: u64Answered with anything but the two below: the answer counts against the primary limit.
unchanged: u64304: the answer GitHub kept for the request’s ETag was still current.
refused: u64403 or 429: a rate limit, primary or secondary, or a token that may not do this.
Implementations§
Trait Implementations§
impl Copy for Tally
impl Eq for Tally
impl StructuralPartialEq for Tally
Auto Trait Implementations§
impl Forget for Tally
impl Freeze for Tally
impl RefUnwindSafe for Tally
impl Send for Tally
impl Sync for Tally
impl Unpin for Tally
impl UnsafeUnpin for Tally
impl UnwindSafe for Tally
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.