pub struct VotesVerifier {
vote_plans: Vec<VotePlanStatus>,
vote_plan_id: Option<String>,
identifier: Option<Identifier>,
}
Fields§
§vote_plans: Vec<VotePlanStatus>
§vote_plan_id: Option<String>
§identifier: Option<Identifier>
Implementations§
source§impl VotesVerifier
impl VotesVerifier
pub fn new(vote_plans: Vec<VotePlanStatus>) -> Self
pub fn gvien_wallet(self, wallet: &Wallet) -> Self
pub fn for_vote_plan(self, vote_plan: &VotePlanDef) -> Self
pub fn votes_were_casted_on_proposals(&self, expected_votes_history: Vec<u8>)
Auto Trait Implementations§
impl RefUnwindSafe for VotesVerifier
impl Send for VotesVerifier
impl Sync for VotesVerifier
impl Unpin for VotesVerifier
impl UnwindSafe for VotesVerifier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more