pub struct SlotStatus {
pub number: u32,
pub path: PathBuf,
pub execution_checkout: PathBuf,
pub state: SlotState,
pub last_maintained: Option<String>,
pub last_outcome: Option<MaintenanceOutcome>,
}Expand description
One slot, as pool status reports it.
Fields§
§number: u32The slot’s number.
path: PathBufThe slot directory: the run root of every session placed on it.
execution_checkout: PathBufThe execution checkout the slot is bound to. Empty where its record could not be read.
state: SlotStateWhere it is in its life.
last_maintained: Option<String>When maintenance last finished, RFC3339 — checked where the record was read, and spelled here as the amendment declares it.
last_outcome: Option<MaintenanceOutcome>How the last maintenance ended.
Trait Implementations§
Source§impl Clone for SlotStatus
impl Clone for SlotStatus
Source§impl Debug for SlotStatus
impl Debug for SlotStatus
Source§impl<'de> Deserialize<'de> for SlotStatus
impl<'de> Deserialize<'de> for SlotStatus
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 SlotStatus
Source§impl PartialEq for SlotStatus
impl PartialEq for SlotStatus
Source§impl Serialize for SlotStatus
impl Serialize for SlotStatus
impl StructuralPartialEq for SlotStatus
Auto Trait Implementations§
impl Freeze for SlotStatus
impl RefUnwindSafe for SlotStatus
impl Send for SlotStatus
impl Sync for SlotStatus
impl Unpin for SlotStatus
impl UnsafeUnpin for SlotStatus
impl UnwindSafe for SlotStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.