pub enum BatControlCommand {
SetStatus(BatStatus),
SetHealth(BatHealth),
SetPresent(u32),
SetCapacity(u32),
SetACOnline(u32),
SetFakeBatConfig(u32),
CancelFakeConfig,
}Variants§
SetStatus(BatStatus)
SetHealth(BatHealth)
SetPresent(u32)
SetCapacity(u32)
SetACOnline(u32)
SetFakeBatConfig(u32)
CancelFakeConfig
Implementations§
Trait Implementations§
Source§impl Debug for BatControlCommand
impl Debug for BatControlCommand
Source§impl<'de> Deserialize<'de> for BatControlCommand
impl<'de> Deserialize<'de> for BatControlCommand
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
Auto Trait Implementations§
impl Freeze for BatControlCommand
impl RefUnwindSafe for BatControlCommand
impl Send for BatControlCommand
impl Sync for BatControlCommand
impl Unpin for BatControlCommand
impl UnwindSafe for BatControlCommand
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