pub struct Ran {
pub repository: String,
pub workflow: Option<String>,
pub name: String,
pub profile: String,
pub memory_cap: Option<u64>,
pub memory_peak: u64,
pub cpu_peak: u64,
pub queued_at: u64,
pub started_at: Option<u64>,
pub finished_at: Option<u64>,
pub oom_killed: bool,
pub reserved: Option<u64>,
}Expand description
One finished job of this daemon’s runners, as sizing reads it. Times in milliseconds.
Fields§
§repository: Stringowner/name.
workflow: Option<String>The workflow’s name, when known.
name: StringThe job’s name.
profile: StringThe profile its runner ran in.
memory_cap: Option<u64>Its container’s memory cap, when recorded.
memory_peak: u64Its sampled memory peak, bytes.
cpu_peak: u64Its sampled CPU peak, millicores.
queued_at: u64When it was queued.
started_at: Option<u64>When it started; None for a job lost before.
finished_at: Option<u64>When it finished, or was found lost.
oom_killed: boolWhether the kernel killed a process in its container for memory.
reserved: Option<u64>What measured admission reserved for it; None under caps or for an adopted runner.
Trait Implementations§
impl Eq for Ran
impl StructuralPartialEq for Ran
Auto Trait Implementations§
impl Freeze for Ran
impl RefUnwindSafe for Ran
impl Send for Ran
impl Sync for Ran
impl Unpin for Ran
impl UnsafeUnpin for Ran
impl UnwindSafe for Ran
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.