[][src]Struct device_types::uevent::UEvent

pub struct UEvent {
    pub major: String,
    pub minor: String,
    pub seqnum: i64,
    pub paths: OrdSet<DevicePath>,
    pub devname: PathBuf,
    pub devpath: PathBuf,
    pub devtype: String,
    pub vendor: Option<String>,
    pub model: Option<String>,
    pub serial: Option<String>,
    pub fs_type: Option<String>,
    pub fs_usage: Option<String>,
    pub fs_uuid: Option<String>,
    pub fs_label: Option<String>,
    pub part_entry_number: Option<u64>,
    pub part_entry_mm: Option<String>,
    pub size: Option<u64>,
    pub scsi80: Option<String>,
    pub scsi83: Option<String>,
    pub read_only: Option<bool>,
    pub bios_boot: Option<bool>,
    pub zfs_reserved: Option<bool>,
    pub is_mpath: Option<bool>,
    pub dm_slave_mms: Vector<String>,
    pub dm_vg_size: Option<u64>,
    pub md_devs: OrdSet<DevicePath>,
    pub dm_multipath_devpath: Option<bool>,
    pub dm_name: Option<String>,
    pub dm_lv_name: Option<String>,
    pub lv_uuid: Option<String>,
    pub dm_vg_name: Option<String>,
    pub vg_uuid: Option<String>,
    pub md_uuid: Option<String>,
}

Fields

major: Stringminor: Stringseqnum: i64paths: OrdSet<DevicePath>devname: PathBufdevpath: PathBufdevtype: Stringvendor: Option<String>model: Option<String>serial: Option<String>fs_type: Option<String>fs_usage: Option<String>fs_uuid: Option<String>fs_label: Option<String>part_entry_number: Option<u64>part_entry_mm: Option<String>size: Option<u64>scsi80: Option<String>scsi83: Option<String>read_only: Option<bool>bios_boot: Option<bool>zfs_reserved: Option<bool>is_mpath: Option<bool>dm_slave_mms: Vector<String>dm_vg_size: Option<u64>md_devs: OrdSet<DevicePath>dm_multipath_devpath: Option<bool>dm_name: Option<String>dm_lv_name: Option<String>lv_uuid: Option<String>dm_vg_name: Option<String>vg_uuid: Option<String>md_uuid: Option<String>

Trait Implementations

impl Clone for UEvent[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<UEvent> for UEvent[src]

impl Debug for UEvent[src]

impl Serialize for UEvent[src]

impl<'de> Deserialize<'de> for UEvent[src]

Auto Trait Implementations

impl Send for UEvent

impl Unpin for UEvent

impl Sync for UEvent

impl UnwindSafe for UEvent

impl RefUnwindSafe for UEvent

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]