1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use std::collections::HashMap;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
#[serde(rename_all = "PascalCase")]
pub struct DriverInfo {
pub attributes: Option<HashMap<String, String>>,
pub detected: Option<bool>,
pub healthy: Option<bool>,
pub health_description: Option<String>,
pub update_time: Option<String>,
}