Struct dao_testing::tests::TestVote
source · pub struct TestVote {
pub voter: String,
pub position: Vote,
pub weight: Uint128,
pub should_execute: ShouldExecute,
}Fields§
§voter: StringThe address casting the vote.
position: VotePosition on the vote.
weight: Uint128Voting power of the address.
should_execute: ShouldExecuteIf this vote is expected to execute.
Auto Trait Implementations§
impl RefUnwindSafe for TestVote
impl Send for TestVote
impl Sync for TestVote
impl Unpin for TestVote
impl UnwindSafe for TestVote
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