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§
Sourcefn vote_poll_owned(self) -> VotePoll
fn vote_poll_owned(self) -> VotePoll
The vote poll as owned
Sourcefn resource_vote_choice(&self) -> ResourceVoteChoice
fn resource_vote_choice(&self) -> ResourceVoteChoice
The choice made in the vote