pub enum JobRange {
Day,
Week,
Month,
All,
}Expand description
How far back a list of jobs reaches, by when GitHub queued them, as every client offers it.
Variants§
Day
The last 24 hours.
Week
The last 7 days.
Month
The last 30 days.
All
Every job the history keeps.
Implementations§
Source§impl JobRange
impl JobRange
Sourcepub fn timeline(self, now: u64) -> TimelineQuery
pub fn timeline(self, now: u64) -> TimelineQuery
The timeline of it at now: its window, at most the super::TIMELINE_WINDOW_MAX a timeline shows.
Trait Implementations§
impl Copy for JobRange
impl Eq for JobRange
impl StructuralPartialEq for JobRange
Auto Trait Implementations§
impl Forget for JobRange
impl Freeze for JobRange
impl Move for JobRange
impl RefUnwindSafe for JobRange
impl Send for JobRange
impl Sync for JobRange
impl Unpin for JobRange
impl UnsafeUnpin for JobRange
impl UnwindSafe for JobRange
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.