pub struct DiskInfo {
pub name: String,
pub model: Option<String>,
pub serial_number: Option<String>,
pub removable: Option<bool>,
}Fields§
§name: String§model: Option<String>§serial_number: Option<String>§removable: Option<bool>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskInfo
impl RefUnwindSafe for DiskInfo
impl Send for DiskInfo
impl Sync for DiskInfo
impl Unpin for DiskInfo
impl UnsafeUnpin for DiskInfo
impl UnwindSafe for DiskInfo
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