pub struct WorkerPing {Show 19 fields
pub worker: String,
pub worker_instance: String,
pub last_ping: Option<f64>,
pub started_at: String,
pub ip: String,
pub jobs_executed: i32,
pub custom_tags: Option<Vec<String>>,
pub worker_group: String,
pub wm_version: String,
pub last_job_id: Option<String>,
pub last_job_workspace_id: Option<String>,
pub occupancy_rate: Option<f64>,
pub occupancy_rate_15s: Option<f64>,
pub occupancy_rate_5m: Option<f64>,
pub occupancy_rate_30m: Option<f64>,
pub memory: Option<f64>,
pub vcpus: Option<f64>,
pub memory_usage: Option<f64>,
pub wm_memory_usage: Option<f64>,
}
Fields§
§worker: String
§worker_instance: String
§last_ping: Option<f64>
§started_at: String
§ip: String
§jobs_executed: i32
§worker_group: String
§wm_version: String
§last_job_id: Option<String>
§last_job_workspace_id: Option<String>
§occupancy_rate: Option<f64>
§occupancy_rate_15s: Option<f64>
§occupancy_rate_5m: Option<f64>
§occupancy_rate_30m: Option<f64>
§memory: Option<f64>
§vcpus: Option<f64>
§memory_usage: Option<f64>
§wm_memory_usage: Option<f64>
Implementations§
Trait Implementations§
Source§impl Clone for WorkerPing
impl Clone for WorkerPing
Source§fn clone(&self) -> WorkerPing
fn clone(&self) -> WorkerPing
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 WorkerPing
impl Debug for WorkerPing
Source§impl Default for WorkerPing
impl Default for WorkerPing
Source§fn default() -> WorkerPing
fn default() -> WorkerPing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkerPing
impl<'de> Deserialize<'de> for WorkerPing
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 WorkerPing
impl PartialEq for WorkerPing
Source§impl Serialize for WorkerPing
impl Serialize for WorkerPing
impl StructuralPartialEq for WorkerPing
Auto Trait Implementations§
impl Freeze for WorkerPing
impl RefUnwindSafe for WorkerPing
impl Send for WorkerPing
impl Sync for WorkerPing
impl Unpin for WorkerPing
impl UnwindSafe for WorkerPing
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