[][src]Trait sunshine_util::traits::GetVoteOutcome

pub trait GetVoteOutcome {
    type Signal: Parameter + Member + AtLeast32Bit + Codec;
    type Outcome: Approved;
    fn get_vote_outcome(
        organization: u32,
        share_id: u32,
        vote_id: u32
    ) -> Result<Self::Outcome, DispatchError>; }

Retrieves the outcome of a vote associated with the vote identifier vote_id

Associated Types

type Signal: Parameter + Member + AtLeast32Bit + Codec

type Outcome: Approved

Loading content...

Required methods

fn get_vote_outcome(
    organization: u32,
    share_id: u32,
    vote_id: u32
) -> Result<Self::Outcome, DispatchError>

Loading content...

Implementors

Loading content...