use std::path::PathBuf;
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct StorageDevice {
pub name: String,
pub path: PathBuf,
pub model: Option<String>,
pub serial: Option<String>,
pub firmware: Option<String>,
pub vendor: Option<String>,
pub size_bytes: u64,
pub removable: bool,
pub rotational: bool,
}