pub struct Id {Show 24 fields
pub is_ata: bool,
pub incomplete: bool,
pub serial: String,
pub firmware: String,
pub model: String,
pub capacity: u64,
pub sector_size_phy: u32,
pub sector_size_log: u32,
pub rpm: RPM,
pub trusted_computing_supported: bool,
pub ata_version: Option<&'static str>,
pub commands_supported: IdCommands,
pub power_mgmt_supported: bool,
pub write_cache: Ternary,
pub read_look_ahead: Ternary,
pub hpa: Ternary,
pub apm: Ternary,
pub aam: Ternary,
pub gp_logging_supported: bool,
pub wwn_supported: bool,
pub security: Ternary,
pub smart: Ternary,
pub smart_error_logging_supported: bool,
pub smart_self_test_supported: bool,
}Fields§
§is_ata: bool§incomplete: bool§serial: String§firmware: String§model: String§capacity: u64§sector_size_phy: u32§sector_size_log: u32§rpm: RPM§trusted_computing_supported: bool§ata_version: Option<&'static str>§commands_supported: IdCommands§power_mgmt_supported: bool§write_cache: Ternary§read_look_ahead: Ternary§hpa: Ternary§apm: Ternary§aam: Ternary§gp_logging_supported: bool§wwn_supported: bool§security: Ternary§smart: Ternary§smart_error_logging_supported: bool§smart_self_test_supported: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnsafeUnpin for Id
impl UnwindSafe for Id
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more