#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct Stats {
#[serde(rename = "indices")]
pub indices: ::std::collections::HashMap<String, Vec<crate::models::Index>>,
#[serde(rename = "coll_stats")]
pub coll_stats: ::std::collections::HashMap<String, crate::models::CollectionStats>,
}
impl Stats {
pub fn new(indices: ::std::collections::HashMap<String, Vec<crate::models::Index>>, coll_stats: ::std::collections::HashMap<String, crate::models::CollectionStats>) -> Stats {
Stats {
indices,
coll_stats,
}
}
}