pub struct WorkersHealth {
pub healthy: bool,
pub active_count: i64,
pub worker_groups: Vec<String>,
pub min_version: String,
pub versions: Vec<String>,
}Expand description
WorkersHealth : Workers health status
Fields§
§healthy: boolWhether any workers are active
active_count: i64Number of active workers (pinged in last 5 minutes)
worker_groups: Vec<String>List of active worker groups
min_version: StringMinimum required worker version
versions: Vec<String>List of active worker versions
Implementations§
Trait Implementations§
Source§impl Clone for WorkersHealth
impl Clone for WorkersHealth
Source§fn clone(&self) -> WorkersHealth
fn clone(&self) -> WorkersHealth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkersHealth
impl Debug for WorkersHealth
Source§impl Default for WorkersHealth
impl Default for WorkersHealth
Source§fn default() -> WorkersHealth
fn default() -> WorkersHealth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkersHealth
impl<'de> Deserialize<'de> for WorkersHealth
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
Source§impl PartialEq for WorkersHealth
impl PartialEq for WorkersHealth
Source§impl Serialize for WorkersHealth
impl Serialize for WorkersHealth
impl StructuralPartialEq for WorkersHealth
Auto Trait Implementations§
impl Freeze for WorkersHealth
impl RefUnwindSafe for WorkersHealth
impl Send for WorkersHealth
impl Sync for WorkersHealth
impl Unpin for WorkersHealth
impl UnwindSafe for WorkersHealth
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