pub enum BatteryChemistry {
LiFePo4,
Nmc,
LiCoO2,
Lmo,
LeadAcid,
NiMh,
SolidState,
Other,
}Expand description
Battery chemistry type.
Variants§
LiFePo4
Lithium Iron Phosphate
Nmc
Lithium Nickel Manganese Cobalt
LiCoO2
Lithium Cobalt Oxide
Lmo
Lithium Manganese Oxide
LeadAcid
Lead Acid
NiMh
Nickel Metal Hydride
SolidState
Solid State
Other
Other/Unknown
Trait Implementations§
Source§impl Clone for BatteryChemistry
impl Clone for BatteryChemistry
Source§fn clone(&self) -> BatteryChemistry
fn clone(&self) -> BatteryChemistry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatteryChemistry
impl Debug for BatteryChemistry
Source§impl Default for BatteryChemistry
impl Default for BatteryChemistry
Source§fn default() -> BatteryChemistry
fn default() -> BatteryChemistry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatteryChemistry
impl<'de> Deserialize<'de> for BatteryChemistry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for BatteryChemistry
impl Hash for BatteryChemistry
Source§impl PartialEq for BatteryChemistry
impl PartialEq for BatteryChemistry
Source§impl Serialize for BatteryChemistry
impl Serialize for BatteryChemistry
impl Copy for BatteryChemistry
impl Eq for BatteryChemistry
impl StructuralPartialEq for BatteryChemistry
Auto Trait Implementations§
impl Freeze for BatteryChemistry
impl RefUnwindSafe for BatteryChemistry
impl Send for BatteryChemistry
impl Sync for BatteryChemistry
impl Unpin for BatteryChemistry
impl UnwindSafe for BatteryChemistry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.