/*
 * This is an auto-generated file.
 * Any manual changes may be overwritten without notice!
 */

use derive_builder::Builder;
use serde::{Deserialize, Serialize};

/// NodeScoreMeta is used to serialize node scoring metadata
/// displayed in the CLI during verbose mode
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct NodeScoreMeta {
    #[serde(rename = "Scores")]
    pub scores: std::collections::HashMap<String, f64>,

    #[serde(rename = "NormScore")]
    pub norm_score: f64,

    #[serde(rename = "NodeID")]
    pub node_id: String,
}
