pub struct Drive {
pub bus_id: u8,
pub enabled: bool,
pub drive_type: Option<DriveType>,
pub last_error: Option<String>,
pub rom: Option<String>,
pub image_file: Option<String>,
pub image_path: Option<String>,
}Expand description
Drive description
Fields§
§bus_id: u8Bus ID
enabled: boolEnabled
drive_type: Option<DriveType>Type
last_error: Option<String>Last error
rom: Option<String>ROM
image_file: Option<String>Image file
image_path: Option<String>Image path
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Drive
impl<'de> Deserialize<'de> for Drive
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 Drive
Auto Trait Implementations§
impl Freeze for Drive
impl RefUnwindSafe for Drive
impl Send for Drive
impl Sync for Drive
impl Unpin for Drive
impl UnwindSafe for Drive
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