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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Device
[src]

[src]

Formats the value using the given formatter.