nomad_client_rs/models/
node_score_meta.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct NodeScoreMeta {
5    #[serde(rename = "NodeID", skip_serializing_if = "Option::is_none")]
6    pub node_id: Option<String>,
7    #[serde(rename = "NormScore", skip_serializing_if = "Option::is_none")]
8    pub norm_score: Option<f64>,
9    #[serde(rename = "Scores", skip_serializing_if = "Option::is_none")]
10    pub scores: Option<::std::collections::HashMap<String, f64>>,
11}