pub enum VoterWeightAction {
CastVote,
CommentProposal,
CreateGovernance,
CreateProposal,
SignOffProposal,
}
Expand description
The governance action VoterWeight is evaluated for
Variants
CastVote
Cast vote for a proposal. Target: Proposal
CommentProposal
Comment a proposal. Target: Proposal
CreateGovernance
Create Governance within a realm. Target: Realm
CreateProposal
Create a proposal for a governance. Target: Governance
SignOffProposal
Signs off a proposal for a governance. Target: Proposal Note: SignOffProposal is not supported in the current version
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.
Auto Trait Implementations
impl RefUnwindSafe for VoterWeightAction
impl Send for VoterWeightAction
impl Sync for VoterWeightAction
impl Unpin for VoterWeightAction
impl UnwindSafe for VoterWeightAction
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more