Struct libatasmart_sys::SkSmartAttributeParsedData
[−]
[src]
#[repr(C)]pub struct SkSmartAttributeParsedData { pub id: uint8_t, pub name: *const c_char, pub pretty_unit: SkSmartAttributeUnit, pub flags: uint16_t, pub threshold: uint8_t, pub threshold_valid: SkBool, pub online: SkBool, pub prefailure: SkBool, pub good_now: SkBool, pub good_now_valid: SkBool, pub good_in_the_past: SkBool, pub good_in_the_past_valid: SkBool, pub current_value_valid: SkBool, pub worst_value_valid: SkBool, pub warn: SkBool, pub current_value: uint8_t, pub worst_value: uint8_t, pub pretty_value: uint64_t, pub raw: [uint8_t; 6], }
Fields
id: uint8_t
name: *const c_char
pretty_unit: SkSmartAttributeUnit
flags: uint16_t
threshold: uint8_t
threshold_valid: SkBool
online: SkBool
prefailure: SkBool
good_now: SkBool
good_now_valid: SkBool
good_in_the_past: SkBool
good_in_the_past_valid: SkBool
current_value_valid: SkBool
worst_value_valid: SkBool
warn: SkBool
current_value: uint8_t
worst_value: uint8_t
pretty_value: uint64_t
raw: [uint8_t; 6]