Enum spl_governance::state::legacy::VoteWeightV1
source · [−]Expand description
Vote with number of votes
Variants
Yes(u64)
Yes vote
No(u64)
No vote
Trait Implementations
Get the name of the type without brackets.
Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type. Read more
fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
Helper method to add a single type definition to the map.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VoteWeightV1
impl Send for VoteWeightV1
impl Sync for VoteWeightV1
impl Unpin for VoteWeightV1
impl UnwindSafe for VoteWeightV1
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more