Struct block_utils::Device[][src]

pub struct Device {
    pub id: Option<Uuid>,
    pub name: String,
    pub media_type: MediaType,
    pub capacity: u64,
    pub fs_type: FilesystemType,
    pub serial_number: Option<String>,
}

Device information that is gathered with udev

Fields

Trait Implementations

impl Clone for Device
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Device
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Device

impl Sync for Device