pub struct UEvent {Show 34 fields
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 rotational: Option<bool>,
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: String
§minor: String
§seqnum: i64
§paths: OrdSet<DevicePath>
§devname: PathBuf
§devpath: PathBuf
§devtype: String
§vendor: 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>
§rotational: Option<bool>
§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§
Source§impl<'de> Deserialize<'de> for UEvent
impl<'de> Deserialize<'de> for UEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for UEvent
Auto Trait Implementations§
impl Freeze for UEvent
impl RefUnwindSafe for UEvent
impl Send for UEvent
impl Sync for UEvent
impl Unpin for UEvent
impl UnwindSafe for UEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more