ResourceVoteGettersV0

Trait ResourceVoteGettersV0 

Source
pub trait ResourceVoteGettersV0 {
    // Required methods
    fn vote_poll(&self) -> &VotePoll;
    fn vote_poll_owned(self) -> VotePoll;
    fn resource_vote_choice(&self) -> ResourceVoteChoice;
}
Expand description

Trait for getters in Resource Vote

Required Methods§

Source

fn vote_poll(&self) -> &VotePoll

The vote poll

Source

fn vote_poll_owned(self) -> VotePoll

The vote poll as owned

Source

fn resource_vote_choice(&self) -> ResourceVoteChoice

The choice made in the vote

Implementors§