pub struct DemandStats {
pub reads: u64,
pub unchanged_reads: u64,
pub shared_reads: u64,
pub suppressed: u64,
}Expand description
What RestDemand has done, for status and doctor.
Fields§
§reads: u64Repository readings fetched from GitHub.
unchanged_reads: u64Of those, readings where every listing came back 304.
Readings handed to another target instead of being fetched again.
suppressed: u64Polls answered “rate limited” without a request, inside the host-wide quiet period.
Trait Implementations§
Source§impl Clone for DemandStats
impl Clone for DemandStats
impl Copy for DemandStats
Source§impl Debug for DemandStats
impl Debug for DemandStats
Source§impl Default for DemandStats
impl Default for DemandStats
impl Eq for DemandStats
Source§impl PartialEq for DemandStats
impl PartialEq for DemandStats
impl StructuralPartialEq for DemandStats
Auto Trait Implementations§
impl Forget for DemandStats
impl Freeze for DemandStats
impl RefUnwindSafe for DemandStats
impl Send for DemandStats
impl Sync for DemandStats
impl Unpin for DemandStats
impl UnsafeUnpin for DemandStats
impl UnwindSafe for DemandStats
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.