pub struct PortableBatteryDeviceChemistryData {
pub raw: u8,
pub value: PortableBatteryDeviceChemistry,
}
Expand description
§Portable Battery - Device Chemistry Data
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§
Source§impl From<u8> for PortableBatteryDeviceChemistryData
impl From<u8> for PortableBatteryDeviceChemistryData
Auto Trait Implementations§
impl Freeze for PortableBatteryDeviceChemistryData
impl RefUnwindSafe for PortableBatteryDeviceChemistryData
impl Send for PortableBatteryDeviceChemistryData
impl Sync for PortableBatteryDeviceChemistryData
impl Unpin for PortableBatteryDeviceChemistryData
impl UnwindSafe for PortableBatteryDeviceChemistryData
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