pub enum NnsNeuronState {
Unspecified,
NotDissolving,
Dissolving,
Dissolved,
Spawning,
Unknown(i32),
}Expand description
NnsNeuronState
Native NNS Governance neuron state with unrecognized codes retained.
Variants§
Unspecified
Governance supplied the unspecified state code.
NotDissolving
Neuron is not dissolving.
Dissolving
Neuron is dissolving.
Dissolved
Neuron has dissolved.
Spawning
Neuron is spawning.
Unknown(i32)
Governance supplied an unrecognized native code.
Implementations§
Trait Implementations§
Source§impl Clone for NnsNeuronState
impl Clone for NnsNeuronState
Source§fn clone(&self) -> NnsNeuronState
fn clone(&self) -> NnsNeuronState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NnsNeuronState
Source§impl Debug for NnsNeuronState
impl Debug for NnsNeuronState
Source§impl Display for NnsNeuronState
impl Display for NnsNeuronState
impl Eq for NnsNeuronState
Source§impl PartialEq for NnsNeuronState
impl PartialEq for NnsNeuronState
Source§impl Serialize for NnsNeuronState
impl Serialize for NnsNeuronState
impl StructuralPartialEq for NnsNeuronState
Auto Trait Implementations§
impl Freeze for NnsNeuronState
impl RefUnwindSafe for NnsNeuronState
impl Send for NnsNeuronState
impl Sync for NnsNeuronState
impl Unpin for NnsNeuronState
impl UnsafeUnpin for NnsNeuronState
impl UnwindSafe for NnsNeuronState
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