pub enum NnsNeuronType {
Unknown,
Unspecified,
Seed,
Ect,
UnknownCode(i32),
}Expand description
NnsNeuronType
Native optional NNS Governance neuron type with unknown evidence retained.
Variants§
Unknown
Governance omitted the optional neuron-type code.
Unspecified
Governance supplied the unspecified neuron-type code.
Seed
Seed neuron.
Ect
Early-contributor-token neuron.
UnknownCode(i32)
Governance supplied an unrecognized native code.
Implementations§
Trait Implementations§
Source§impl Clone for NnsNeuronType
impl Clone for NnsNeuronType
Source§fn clone(&self) -> NnsNeuronType
fn clone(&self) -> NnsNeuronType
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 NnsNeuronType
Source§impl Debug for NnsNeuronType
impl Debug for NnsNeuronType
Source§impl Display for NnsNeuronType
impl Display for NnsNeuronType
impl Eq for NnsNeuronType
Source§impl PartialEq for NnsNeuronType
impl PartialEq for NnsNeuronType
Source§impl Serialize for NnsNeuronType
impl Serialize for NnsNeuronType
impl StructuralPartialEq for NnsNeuronType
Auto Trait Implementations§
impl Freeze for NnsNeuronType
impl RefUnwindSafe for NnsNeuronType
impl Send for NnsNeuronType
impl Sync for NnsNeuronType
impl Unpin for NnsNeuronType
impl UnsafeUnpin for NnsNeuronType
impl UnwindSafe for NnsNeuronType
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