pub enum PortableBatteryDeviceChemistry {
Other,
Unknown,
LeadAcid,
NickelCadmium,
NickelMetalHydride,
LithiumIon,
ZincAir,
LithiumPolymer,
None,
}
Expand description
§Portable Battery - Device Chemistry
Variants§
Other
Other
Unknown
Unknown
Version 2.2+ implementations that use a Smart Battery set this field to 02h (Unknown) to indicate that the ‘sbds_device_chemistry’ field contains the information.
LeadAcid
Lead Acid
NickelCadmium
Nickel Cadmium
NickelMetalHydride
Nickel metal hydride
LithiumIon
Lithium-ion
ZincAir
Zinc air
LithiumPolymer
Lithium Polymer
None
A value unknown to this standard, check the raw value
Trait Implementations§
Source§impl PartialEq for PortableBatteryDeviceChemistry
impl PartialEq for PortableBatteryDeviceChemistry
Source§fn eq(&self, other: &PortableBatteryDeviceChemistry) -> bool
fn eq(&self, other: &PortableBatteryDeviceChemistry) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for PortableBatteryDeviceChemistry
impl StructuralPartialEq for PortableBatteryDeviceChemistry
Auto Trait Implementations§
impl Freeze for PortableBatteryDeviceChemistry
impl RefUnwindSafe for PortableBatteryDeviceChemistry
impl Send for PortableBatteryDeviceChemistry
impl Sync for PortableBatteryDeviceChemistry
impl Unpin for PortableBatteryDeviceChemistry
impl UnwindSafe for PortableBatteryDeviceChemistry
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