pub struct PollConditions {
pub quiet: bool,
pub quota: Option<RateLimitSnapshot>,
pub requests_per_pass: u32,
}Expand description
What a successful pass found, beyond “GitHub answered”.
Fields§
§quiet: boolNothing is happening: no live runner, no run whose listings changed.
See QueuedDemand::is_quiet.
quota: Option<RateLimitSnapshot>The account’s hourly quota as GitHub last reported it.
requests_per_pass: u32What one poll of this target costs, in demand requests. Stretches the
idle interval of a target too large to poll that often; see
MAX_IDLE_REQUESTS_PER_MINUTE_PER_TARGET.
Trait Implementations§
Source§impl Clone for PollConditions
impl Clone for PollConditions
impl Copy for PollConditions
Source§impl Debug for PollConditions
impl Debug for PollConditions
Source§impl Default for PollConditions
impl Default for PollConditions
impl Eq for PollConditions
Source§impl PartialEq for PollConditions
impl PartialEq for PollConditions
impl StructuralPartialEq for PollConditions
Auto Trait Implementations§
impl Freeze for PollConditions
impl RefUnwindSafe for PollConditions
impl Send for PollConditions
impl Sync for PollConditions
impl Unpin for PollConditions
impl UnsafeUnpin for PollConditions
impl UnwindSafe for PollConditions
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.