pub struct RunnerRecord {
pub name: String,
pub repository: String,
pub profile: String,
pub slot: usize,
pub container: String,
pub started_at: u64,
pub memory_cap: Option<u64>,
pub cpu_cap: Option<u64>,
pub admission: Option<Admission>,
}Expand description
A runner container as the history records it.
Fields§
§name: StringThe runner’s name, also its container’s.
repository: Stringowner/name.
profile: StringThe profile it runs in.
slot: usize1-based.
container: StringThe Docker container ID.
started_at: u64When the container started, in milliseconds since the epoch.
memory_cap: Option<u64>The container’s memory cap in bytes.
cpu_cap: Option<u64>The container’s CPU limit in millicores.
admission: Option<Admission>How it was admitted; None for one a restart adopted without a record of it.
Trait Implementations§
Source§impl Clone for RunnerRecord
impl Clone for RunnerRecord
Source§impl Debug for RunnerRecord
impl Debug for RunnerRecord
impl Eq for RunnerRecord
Source§impl PartialEq for RunnerRecord
impl PartialEq for RunnerRecord
impl StructuralPartialEq for RunnerRecord
Auto Trait Implementations§
impl Freeze for RunnerRecord
impl RefUnwindSafe for RunnerRecord
impl Send for RunnerRecord
impl Sync for RunnerRecord
impl Unpin for RunnerRecord
impl UnsafeUnpin for RunnerRecord
impl UnwindSafe for RunnerRecord
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.