pub struct BuildCancellationWorkerHealth {
pub status: String,
pub speed_score: f64,
pub used_slots: u32,
pub available_slots: u32,
pub pressure_state: String,
pub pressure_reason_code: String,
}Expand description
Worker health snapshot captured when a cancellation completes.
Fields§
§status: StringWorker status at cancellation completion.
speed_score: f64Worker speed score at cancellation completion.
used_slots: u32Slots currently used on the worker.
available_slots: u32Slots currently available on the worker.
pressure_state: StringNormalized pressure state.
pressure_reason_code: StringStable pressure reason code.
Trait Implementations§
Source§impl Clone for BuildCancellationWorkerHealth
impl Clone for BuildCancellationWorkerHealth
Source§fn clone(&self) -> BuildCancellationWorkerHealth
fn clone(&self) -> BuildCancellationWorkerHealth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for BuildCancellationWorkerHealth
impl<'de> Deserialize<'de> for BuildCancellationWorkerHealth
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
Auto Trait Implementations§
impl Freeze for BuildCancellationWorkerHealth
impl RefUnwindSafe for BuildCancellationWorkerHealth
impl Send for BuildCancellationWorkerHealth
impl Sync for BuildCancellationWorkerHealth
impl Unpin for BuildCancellationWorkerHealth
impl UnsafeUnpin for BuildCancellationWorkerHealth
impl UnwindSafe for BuildCancellationWorkerHealth
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