pub struct PricedRun {
pub repository: String,
pub workflow: Option<String>,
pub labels: Vec<String>,
pub state: JobState,
pub profile: Option<String>,
pub queued_at: u64,
pub started_at: Option<u64>,
pub finished_at: Option<u64>,
}Expand description
A job of the history as pricing reads it: one a runner of this machine took, completed or lost. Times are milliseconds.
Fields§
§repository: Stringowner/name.
workflow: Option<String>The workflow’s name.
labels: Vec<String>The workflow’s runs-on labels.
state: JobStateCompleted or Lost; others are not counted.
profile: Option<String>The profile its runner ran in; None without a runner row.
queued_at: u64When it was queued.
started_at: Option<u64>When it started.
finished_at: Option<u64>When it ended.
Implementations§
Trait Implementations§
impl Eq for PricedRun
impl StructuralPartialEq for PricedRun
Auto Trait Implementations§
impl Freeze for PricedRun
impl RefUnwindSafe for PricedRun
impl Send for PricedRun
impl Sync for PricedRun
impl Unpin for PricedRun
impl UnsafeUnpin for PricedRun
impl UnwindSafe for PricedRun
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.