pub enum AutoState {
On,
Off,
}Expand description
Wire representation of the engine’s Auto-mode state, mirrored
from zero_commands::AutoState but narrow on purpose: the
engine client speaks in its own vocabulary so a dispatcher
refactor on the CLI side does not reshape the HTTP surface.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AutoState
impl<'de> Deserialize<'de> for AutoState
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
impl Copy for AutoState
impl Eq for AutoState
impl StructuralPartialEq for AutoState
Auto Trait Implementations§
impl Freeze for AutoState
impl RefUnwindSafe for AutoState
impl Send for AutoState
impl Sync for AutoState
impl Unpin for AutoState
impl UnsafeUnpin for AutoState
impl UnwindSafe for AutoState
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