BatApprovedChemistry

Enum BatApprovedChemistry 

Source
#[repr(u8)]
pub enum BatApprovedChemistry {
Show 33 variants Unspecified = 0, Alkaline = 1, Lithiumcarbonfluoride = 2, Lithiumchromiumoxide = 3, Lithiumcopperoxide = 4, Lithiumirondisulfide = 5, Lithiummanganesedioxide = 6, Lithiumthionylchloride = 7, Magnesium = 8, Mercuryoxide = 9, Nickeloxyhydride = 10, Silveroxide = 11, Zincair = 12, Zinccarbon = 13, Zincchloride = 14, Zincmanganesedioxide = 15, Leadacid = 16, Lithiumcobaltoxide = 17, Lithiumion = 18, Lithiumionpolymer = 19, Lithiumironphosphate = 20, Lithiumsulfur = 21, Lithiumtitanate = 22, Nickelcadmium = 23, Nickelhydrogen = 24, Nickeliron = 25, Nickelmetalhydride = 26, Nickelzinc = 27, Silverzinc = 28, Sodiumion = 29, Sodiumsulfur = 30, Zincbromide = 31, Zinccerium = 32,
}

Variants§

§

Unspecified = 0

Cell chemistry is unspecified or unknown

§

Alkaline = 1

Cell chemistry is alkaline

§

Lithiumcarbonfluoride = 2

Cell chemistry is lithium carbon fluoride

§

Lithiumchromiumoxide = 3

Cell chemistry is lithium chromium oxide

§

Lithiumcopperoxide = 4

Cell chemistry is lithium copper oxide

§

Lithiumirondisulfide = 5

Cell chemistry is lithium iron disulfide

§

Lithiummanganesedioxide = 6

Cell chemistry is lithium manganese dioxide

§

Lithiumthionylchloride = 7

Cell chemistry is lithium thionyl chloride

§

Magnesium = 8

Cell chemistry is magnesium

§

Mercuryoxide = 9

Cell chemistry is mercury oxide

§

Nickeloxyhydride = 10

Cell chemistry is nickel oxyhydride

§

Silveroxide = 11

Cell chemistry is silver oxide

§

Zincair = 12

Cell chemistry is zinc air

§

Zinccarbon = 13

Cell chemistry is zinc carbon

§

Zincchloride = 14

Cell chemistry is zinc chloride

§

Zincmanganesedioxide = 15

Cell chemistry is zinc manganese dioxide

§

Leadacid = 16

Cell chemistry is lead acid

§

Lithiumcobaltoxide = 17

Cell chemistry is lithium cobalt oxide

§

Lithiumion = 18

Cell chemistry is lithium ion

§

Lithiumionpolymer = 19

Cell chemistry is lithium ion polymer

§

Lithiumironphosphate = 20

Cell chemistry is lithium iron phosphate

§

Lithiumsulfur = 21

Cell chemistry is lithium sulfur

§

Lithiumtitanate = 22

Cell chemistry is lithium titanate

§

Nickelcadmium = 23

Cell chemistry is nickel cadmium

§

Nickelhydrogen = 24

Cell chemistry is nickel hydrogen

§

Nickeliron = 25

Cell chemistry is nickel iron

§

Nickelmetalhydride = 26

Cell chemistry is nickel metal hydride

§

Nickelzinc = 27

Cell chemistry is nickel zinc

§

Silverzinc = 28

Cell chemistry is silver zinc

§

Sodiumion = 29

Cell chemistry is sodium ion

§

Sodiumsulfur = 30

Cell chemistry is sodium sulfur

§

Zincbromide = 31

Cell chemistry is zinc bromide

§

Zinccerium = 32

Cell chemistry is zinc cerium

Implementations§

Source§

impl BatApprovedChemistry

Source

pub fn from_u8(value: u8) -> Option<Self>

Convert from u8 value

Source

pub fn to_u8(self) -> u8

Convert to u8 value

Trait Implementations§

Source§

impl Clone for BatApprovedChemistry

Source§

fn clone(&self) -> BatApprovedChemistry

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BatApprovedChemistry

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for BatApprovedChemistry

Source§

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 From<BatApprovedChemistry> for u8

Source§

fn from(val: BatApprovedChemistry) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for BatApprovedChemistry

Source§

fn eq(&self, other: &BatApprovedChemistry) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for BatApprovedChemistry

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for BatApprovedChemistry

Source§

impl Eq for BatApprovedChemistry

Source§

impl StructuralPartialEq for BatApprovedChemistry

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,