pub struct VotingSet {
pub voters: BTreeMap<[u8; 32], u64>,
}Expand description
エポックの投票者。投票の鍵(根の公開鍵)→ 重み
Fields§
§voters: BTreeMap<[u8; 32], u64>Implementations§
Trait Implementations§
impl Eq for VotingSet
impl StructuralPartialEq for VotingSet
Auto Trait Implementations§
impl Freeze for VotingSet
impl RefUnwindSafe for VotingSet
impl Send for VotingSet
impl Sync for VotingSet
impl Unpin for VotingSet
impl UnsafeUnpin for VotingSet
impl UnwindSafe for VotingSet
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