Enum spl_governance::state::proposal::OptionVoteResult
source · [−]pub enum OptionVoteResult {
None,
Succeeded,
Defeated,
}
Expand description
Proposal option vote result
Variants
None
Vote on the option is not resolved yet
Succeeded
Vote on the option is completed and the option passed
Defeated
Vote on the option is completed and the option was defeated
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 OptionVoteResult
impl Send for OptionVoteResult
impl Sync for OptionVoteResult
impl Unpin for OptionVoteResult
impl UnwindSafe for OptionVoteResult
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more