pub struct Run {Show 17 fields
pub id: u64,
pub repository: String,
pub workflow: Option<String>,
pub name: String,
pub branch: Option<String>,
pub url: Option<String>,
pub run_id: u64,
pub run_attempt: u32,
pub state: JobState,
pub conclusion: Option<String>,
pub queued_at: u64,
pub started_at: Option<u64>,
pub finished_at: Option<u64>,
pub runner_started_at: Option<u64>,
pub profile: Option<String>,
pub memory_peak: Option<u64>,
pub build_cache: Option<BuildCacheCounts>,
}Expand description
One job the history closed, as insights read it. Times in milliseconds.
Fields§
§id: u64GitHub’s job ID.
repository: Stringowner/name.
workflow: Option<String>The workflow’s name, when known.
name: StringThe job’s name.
branch: Option<String>The branch the run is for.
url: Option<String>The job’s page on GitHub.
run_id: u64The workflow run.
run_attempt: u32The run’s attempt, 1 for the first.
state: JobStateCompleted or Lost.
conclusion: Option<String>GitHub’s conclusion, for a completed job.
queued_at: u64When GitHub queued it.
started_at: Option<u64>When it started.
finished_at: Option<u64>When it finished, or was found lost.
runner_started_at: Option<u64>When its runner’s container started: before queued_at, it found a warm runner.
profile: Option<String>The profile its runner ran in.
memory_peak: Option<u64>Its sampled memory peak.
build_cache: Option<BuildCacheCounts>What the build cache served it, if its runner had the build cache.
Trait Implementations§
impl Eq for Run
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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.