pub struct ScsiDevice {
pub serial: Option<String>,
pub scsi80: Option<String>,
pub major: String,
pub minor: String,
pub devpath: PathBuf,
pub size: u64,
pub filesystem_type: Option<String>,
pub fs_uuid: Option<String>,
pub fs_label: Option<String>,
pub paths: Paths,
pub mount: Option<Mount>,
pub children: OrdSet<Device>,
}Fields§
§serial: Option<String>§scsi80: Option<String>§major: String§minor: String§devpath: PathBuf§size: u64§filesystem_type: Option<String>§fs_uuid: Option<String>§fs_label: Option<String>§paths: Paths§mount: Option<Mount>§children: OrdSet<Device>Trait Implementations§
Source§impl Clone for ScsiDevice
impl Clone for ScsiDevice
Source§fn clone(&self) -> ScsiDevice
fn clone(&self) -> ScsiDevice
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScsiDevice
impl Debug for ScsiDevice
Source§impl<'de> Deserialize<'de> for ScsiDevice
impl<'de> Deserialize<'de> for ScsiDevice
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 Hash for ScsiDevice
impl Hash for ScsiDevice
Source§impl Ord for ScsiDevice
impl Ord for ScsiDevice
Source§fn cmp(&self, other: &ScsiDevice) -> Ordering
fn cmp(&self, other: &ScsiDevice) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScsiDevice
impl PartialEq for ScsiDevice
Source§impl PartialOrd for ScsiDevice
impl PartialOrd for ScsiDevice
Source§impl Serialize for ScsiDevice
impl Serialize for ScsiDevice
impl Eq for ScsiDevice
impl StructuralPartialEq for ScsiDevice
Auto Trait Implementations§
impl Freeze for ScsiDevice
impl RefUnwindSafe for ScsiDevice
impl Send for ScsiDevice
impl Sync for ScsiDevice
impl Unpin for ScsiDevice
impl UnwindSafe for ScsiDevice
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