pub enum Technology {
Unknown,
LithiumIon,
LeadAcid,
LithiumPolymer,
NickelMetalHydride,
NickelCadmium,
NickelZinc,
LithiumIronPhosphate,
RechargeableAlkalineManganese,
}Variants§
Unknown
LithiumIon
LeadAcid
LithiumPolymer
NickelMetalHydride
NickelCadmium
NickelZinc
LithiumIronPhosphate
RechargeableAlkalineManganese
Trait Implementations§
Source§impl Debug for Technology
impl Debug for Technology
Source§impl<'de> Deserialize<'de> for Technology
impl<'de> Deserialize<'de> for Technology
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 From<Technology> for Technology
impl From<Technology> for Technology
Source§fn from(tech: Technology) -> Self
fn from(tech: Technology) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Technology
impl RefUnwindSafe for Technology
impl Send for Technology
impl Sync for Technology
impl Unpin for Technology
impl UnwindSafe for Technology
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<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more