pub struct Disk {
pub name: String,
pub sha1: Option<String>,
pub merge: Option<String>,
pub status: Option<String>,
pub region: Option<String>,
}
Expand description
Disk data associated with a MAME machine.
Fields§
§name: String
The name of the disk.
sha1: Option<String>
The SHA-1 hash of the disk file (optional).
merge: Option<String>
Indicates if the disk is merged with another disk (optional).
status: Option<String>
The status of the disk (optional).
region: Option<String>
The region associated with the disk (optional).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Disk
impl<'de> Deserialize<'de> for Disk
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
Auto Trait Implementations§
impl Freeze for Disk
impl RefUnwindSafe for Disk
impl Send for Disk
impl Sync for Disk
impl Unpin for Disk
impl UnwindSafe for Disk
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