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
id: Option<Uuid>
name: String
media_type: MediaType
capacity: u64
fs_type: FilesystemType
serial_number: Option<String>
Trait Implementations
impl Clone for Device
[src]
fn clone(&self) -> Device
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more