ResourceVoteChoiceToKeyTrait

Trait ResourceVoteChoiceToKeyTrait 

Source
pub trait ResourceVoteChoiceToKeyTrait {
    // Required method
    fn to_key(&self) -> Vec<u8> ;
}
Expand description

A helper trait to get the key for a resource vote

Required Methods§

Source

fn to_key(&self) -> Vec<u8>

A helper function to get the key for a resource vote

Implementations on Foreign Types§

Source§

impl ResourceVoteChoiceToKeyTrait for ResourceVoteChoice

Source§

fn to_key(&self) -> Vec<u8>

Implementors§