Struct smbioslib::MemoryDeviceTypeData [−][src]
pub struct MemoryDeviceTypeData { pub raw: u8, pub value: MemoryDeviceType, }
Fields
raw: u8
Raw value
raw is most useful when value is None. This is most likely to occur when the standard was updated but this library code has not been updated to match the current standard.
value: MemoryDeviceType
The contained MemoryDeviceType value
Trait Implementations
impl Debug for MemoryDeviceTypeData
[src]
impl Debug for MemoryDeviceTypeData
[src]impl Deref for MemoryDeviceTypeData
[src]
impl Deref for MemoryDeviceTypeData
[src]type Target = MemoryDeviceType
type Target = MemoryDeviceType
The resulting type after dereferencing.
impl Display for MemoryDeviceTypeData
[src]
impl Display for MemoryDeviceTypeData
[src]impl PartialEq<MemoryDeviceTypeData> for MemoryDeviceTypeData
[src]
impl PartialEq<MemoryDeviceTypeData> for MemoryDeviceTypeData
[src]fn eq(&self, other: &MemoryDeviceTypeData) -> bool
[src]
fn eq(&self, other: &MemoryDeviceTypeData) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &MemoryDeviceTypeData) -> bool
[src]
fn ne(&self, other: &MemoryDeviceTypeData) -> bool
[src]This method tests for !=
.
impl Serialize for MemoryDeviceTypeData
[src]
impl Serialize for MemoryDeviceTypeData
[src]