pub enum HaltScope {
City,
Building(Address),
Workshop(Address),
}Expand description
What a Halt, Release or Autonomy change applies to. Unlike modes and providers, this set is the protocol’s own and has no upstream owner.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HaltScope
impl<'de> Deserialize<'de> for HaltScope
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 Eq for HaltScope
impl StructuralPartialEq for HaltScope
Auto Trait Implementations§
impl Freeze for HaltScope
impl RefUnwindSafe for HaltScope
impl Send for HaltScope
impl Sync for HaltScope
impl Unpin for HaltScope
impl UnsafeUnpin for HaltScope
impl UnwindSafe for HaltScope
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