pub struct RunnerSlot {
pub repository: String,
pub busy: bool,
pub started_at: SystemTime,
pub memory: u64,
pub cpu: u64,
}Expand description
A slot whose container runs a runner registered for one job.
Fields§
§repository: Stringowner/name the runner is registered on.
busy: boolWhether GitHub reports the runner running a job.
started_at: SystemTimeWhen its container started.
memory: u64What it takes of the memory budget, which it gives back if it stops.
cpu: u64What it takes of the CPU budget, in millicores.
Trait Implementations§
Source§impl Clone for RunnerSlot
impl Clone for RunnerSlot
Source§impl Debug for RunnerSlot
impl Debug for RunnerSlot
impl Eq for RunnerSlot
Source§impl PartialEq for RunnerSlot
impl PartialEq for RunnerSlot
impl StructuralPartialEq for RunnerSlot
Auto Trait Implementations§
impl Freeze for RunnerSlot
impl RefUnwindSafe for RunnerSlot
impl Send for RunnerSlot
impl Sync for RunnerSlot
impl Unpin for RunnerSlot
impl UnsafeUnpin for RunnerSlot
impl UnwindSafe for RunnerSlot
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.