use super::super::DataSource;
use serde::{Deserialize, Serialize};
use serde_json::value::RawValue;
use std::collections::HashMap;
#[derive(Debug, Deserialize, Serialize)]
pub struct SearchableSnapshotsStats {
pub _shards: Box<RawValue>,
pub total: Vec<Box<RawValue>>,
pub indices: HashMap<String, Total>,
}
#[derive(Debug, Deserialize, Serialize)]
pub struct Total {
pub total: Vec<Box<RawValue>>,
}
impl DataSource for SearchableSnapshotsStats {
fn name() -> String {
"searchable_snapshots_stats".to_string()
}
}