pub struct ProfileStatus {
pub name: String,
pub image: String,
pub cpus: u32,
pub memory: u64,
pub reseeding: bool,
pub slots: Vec<SlotStatus>,
}Expand description
A runner profile and what runs in its slots.
Fields§
§name: StringThe name under [profiles] in runnerd.toml.
image: StringThe image its runners run, such as runnerd-runner:base.
cpus: u32CPUs per slot.
memory: u64Bytes per slot.
reseeding: boolSet while slot 1’s layers become the profile’s snapshot.
slots: Vec<SlotStatus>Index 0 is slot 1.
Trait Implementations§
Source§impl Clone for ProfileStatus
impl Clone for ProfileStatus
Source§impl Debug for ProfileStatus
impl Debug for ProfileStatus
Source§impl<'de> Deserialize<'de> for ProfileStatus
impl<'de> Deserialize<'de> for ProfileStatus
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 ProfileStatus
Source§impl PartialEq for ProfileStatus
impl PartialEq for ProfileStatus
Source§impl Serialize for ProfileStatus
impl Serialize for ProfileStatus
impl StructuralPartialEq for ProfileStatus
Auto Trait Implementations§
impl Freeze for ProfileStatus
impl RefUnwindSafe for ProfileStatus
impl Send for ProfileStatus
impl Sync for ProfileStatus
impl Unpin for ProfileStatus
impl UnsafeUnpin for ProfileStatus
impl UnwindSafe for ProfileStatus
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.