[][src]Struct hdd::drivedb::vendor_attribute::Attribute

pub struct Attribute {
    pub id: Option<u8>,
    pub name: Option<String>,
    pub format: String,
    pub byte_order: String,
    pub drivetype: Option<Type>,
}

SMART attribute description

Fields

id: Option<u8>

id of described attribute

name: Option<String>

attribute name

format: String

value format, like raw48 or tempminmax

byte_order: String

bytes of attribute data to make value of (usually something like r543210, where r, v, w represent reserved byte, current and worst values respectively)

drivetype: Option<Type>

what kind of device this description is applicable to: HDD, SSD, or both

Trait Implementations

impl Clone for Attribute[src]

impl Debug for Attribute[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.