1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct JobJobSummarySummary { /// Whether the cluster is in a degraded state. Note this is from the perspective of the node handling the query, which might be different from another node. #[serde(rename = "cluster_is_degraded")] pub cluster_is_degraded: bool, /// Whether isi_job_d instances on all up nodes in the cluster are connected to the coordinator. #[serde(rename = "connected")] pub connected: bool, /// The devid of the job engine coordinator. #[serde(rename = "coordinator")] pub coordinator: i32, /// If connected=false, this is the set of devids that are not connected to the coordinator. #[serde(rename = "disconnected_nodes")] pub disconnected_nodes: Option<Vec<i32>>, /// Whether the cluster has any down or read-only nodes. These nodes are not considered in the connected property. #[serde(rename = "down_or_read_only_nodes")] pub down_or_read_only_nodes: bool, /// The job ID to be assigned to the next job. #[serde(rename = "next_jid")] pub next_jid: i32, /// Whether the job engine would allow most jobs to run even when the cluster is in a degraded state. #[serde(rename = "run_degraded")] pub run_degraded: bool, /// Whether the coordinator has recently gathered statistics for all nodes in the cluster. #[serde(rename = "stats_ready")] pub stats_ready: bool, }