1 2 3 4 5 6 7 8 9 10 11 12
#[allow(unused_imports)] use serde_json::Value; #[derive(Debug, Serialize, Deserialize)] pub struct StatisticsProtocol { /// Abbreviated name of protocol. #[serde(rename = "name")] pub name: String, /// External protocols are customer facing, internal protocols expose metrics for internal OneFS systems. #[serde(rename = "type")] pub _type: String, }