pub struct PortableBatteryDeviceChemistryData {
pub raw: u8,
pub value: PortableBatteryDeviceChemistry,
}
Expand description
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: PortableBatteryDeviceChemistry
The contained PortableBatteryDeviceChemistry value
Trait Implementations
sourceimpl Deref for PortableBatteryDeviceChemistryData
impl Deref for PortableBatteryDeviceChemistryData
type Target = PortableBatteryDeviceChemistry
type Target = PortableBatteryDeviceChemistry
The resulting type after dereferencing.
sourceimpl From<u8> for PortableBatteryDeviceChemistryData
impl From<u8> for PortableBatteryDeviceChemistryData
Auto Trait Implementations
impl RefUnwindSafe for PortableBatteryDeviceChemistryData
impl Send for PortableBatteryDeviceChemistryData
impl Sync for PortableBatteryDeviceChemistryData
impl Unpin for PortableBatteryDeviceChemistryData
impl UnwindSafe for PortableBatteryDeviceChemistryData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more