pub struct Spend {
pub rate_limit: Option<RateLimit>,
pub mutations: u64,
}Expand description
What the scheduler paces GitHub’s reads by: the limit as the last answer gave it, and how many registrations and deletes were sent since the client was made, a count no window’s line starts over.
Fields§
§rate_limit: Option<RateLimit>The primary limit’s last reading, if any answer carried one.
mutations: u64Registrations and deletes sent, whatever GitHub answered.
Trait Implementations§
impl Copy for Spend
impl Eq for Spend
impl StructuralPartialEq for Spend
Auto Trait Implementations§
impl Forget for Spend
impl Freeze for Spend
impl Move for Spend
impl RefUnwindSafe for Spend
impl Send for Spend
impl Sync for Spend
impl Unpin for Spend
impl UnsafeUnpin for Spend
impl UnwindSafe for Spend
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.