Struct smbioslib::VoltageProbeLocationAndStatus
source · pub struct VoltageProbeLocationAndStatus {
pub raw: u8,
}
Expand description
Fields§
§raw: u8
Raw value
Implementations§
source§impl VoltageProbeLocationAndStatus
impl VoltageProbeLocationAndStatus
sourcepub fn location(&self) -> VoltageProbeLocation
pub fn location(&self) -> VoltageProbeLocation
Voltage Probe Location
sourcepub fn status(&self) -> VoltageProbeStatus
pub fn status(&self) -> VoltageProbeStatus
Voltage Probe Status
Trait Implementations§
source§impl From<u8> for VoltageProbeLocationAndStatus
impl From<u8> for VoltageProbeLocationAndStatus
source§impl PartialEq<VoltageProbeLocationAndStatus> for VoltageProbeLocationAndStatus
impl PartialEq<VoltageProbeLocationAndStatus> for VoltageProbeLocationAndStatus
source§fn eq(&self, other: &VoltageProbeLocationAndStatus) -> bool
fn eq(&self, other: &VoltageProbeLocationAndStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VoltageProbeLocationAndStatus
impl StructuralEq for VoltageProbeLocationAndStatus
impl StructuralPartialEq for VoltageProbeLocationAndStatus
Auto Trait Implementations§
impl RefUnwindSafe for VoltageProbeLocationAndStatus
impl Send for VoltageProbeLocationAndStatus
impl Sync for VoltageProbeLocationAndStatus
impl Unpin for VoltageProbeLocationAndStatus
impl UnwindSafe for VoltageProbeLocationAndStatus
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