pub struct RunnerStatus {
pub repository: String,
pub name: String,
pub runner_id: u64,
pub container: String,
pub busy: bool,
pub started_at: u64,
pub reserved: u64,
pub warm: bool,
}Expand description
A runner registered for one job, in its container.
Fields§
§repository: Stringowner/name the runner is registered on.
name: StringThe runner’s name, also its container’s.
runner_id: u64The runner’s ID on GitHub.
container: StringThe Docker container ID.
busy: boolWhether it runs a job, as GitHub or its log reports it: its log names the job before GitHub lists it busy.
started_at: u64Seconds since the Unix epoch.
reserved: u64What it takes of the budget: its cap under caps; under measured admission the larger of its predicted peak and its last sampled memory. 0 from a daemon before measured admission.
warm: boolA warm runner: idle, and no queued job of its repository waits for it; it takes the next one GitHub hands out. False from a daemon before warm runners.
Trait Implementations§
Source§impl Clone for RunnerStatus
impl Clone for RunnerStatus
Source§impl Debug for RunnerStatus
impl Debug for RunnerStatus
Source§impl<'de> Deserialize<'de> for RunnerStatus
impl<'de> Deserialize<'de> for RunnerStatus
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 RunnerStatus
Source§impl PartialEq for RunnerStatus
impl PartialEq for RunnerStatus
Source§impl Serialize for RunnerStatus
impl Serialize for RunnerStatus
impl StructuralPartialEq for RunnerStatus
Auto Trait Implementations§
impl Freeze for RunnerStatus
impl RefUnwindSafe for RunnerStatus
impl Send for RunnerStatus
impl Sync for RunnerStatus
impl Unpin for RunnerStatus
impl UnsafeUnpin for RunnerStatus
impl UnwindSafe for RunnerStatus
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.