pub struct Digest {
pub since: u64,
pub until: u64,
pub finished: u64,
pub failed: u64,
pub new: Vec<Insight>,
pub waits: Vec<LongWait>,
pub savings: Option<SavedWindow>,
}Expand description
GET /v1/digest: the last 24 hours.
Fields§
§since: u6424 hours before until.
until: u64When it was read.
finished: u64Jobs that finished: completed, or lost with their runner.
failed: u64Of those, the ones that failed, timed out or were lost.
new: Vec<Insight>The insights that hold now and did not 24 hours ago.
waits: Vec<LongWait>The three longest waits of the jobs that started, longest first.
savings: Option<SavedWindow>What the month’s job minutes would have cost on GitHub’s runners (ADR 0072); None from a daemon before
it, or when the history could not say.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Digest
impl<'de> Deserialize<'de> for Digest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Digest
impl StructuralPartialEq for Digest
Auto Trait Implementations§
impl Freeze for Digest
impl RefUnwindSafe for Digest
impl Send for Digest
impl Sync for Digest
impl Unpin for Digest
impl UnsafeUnpin for Digest
impl UnwindSafe for Digest
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.