pub struct Mpath {Show 13 fields
pub devpath: PathBuf,
pub serial: Option<String>,
pub scsi80: Option<String>,
pub dm_name: String,
pub size: u64,
pub major: String,
pub minor: String,
pub filesystem_type: Option<String>,
pub fs_uuid: Option<String>,
pub fs_label: Option<String>,
pub paths: Paths,
pub children: OrdSet<Device>,
pub mount: Option<Mount>,
}
Fields§
§devpath: PathBuf
§serial: Option<String>
§scsi80: Option<String>
§dm_name: String
§size: u64
§major: String
§minor: String
§filesystem_type: Option<String>
§fs_uuid: Option<String>
§fs_label: Option<String>
§paths: Paths
§children: OrdSet<Device>
§mount: Option<Mount>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mpath
impl<'de> Deserialize<'de> for Mpath
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
Source§impl Ord for Mpath
impl Ord for Mpath
Source§impl PartialOrd for Mpath
impl PartialOrd for Mpath
impl Eq for Mpath
impl StructuralPartialEq for Mpath
Auto Trait Implementations§
impl Freeze for Mpath
impl RefUnwindSafe for Mpath
impl Send for Mpath
impl Sync for Mpath
impl Unpin for Mpath
impl UnwindSafe for Mpath
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