pub struct PoolAddress(pub PublicAddress);Expand description
PoolAddress is the value store inside the IndexMap for Validator Set (Previous and Current). Different with PoolKey, power is not needed because PVP and VP does not need to implement a binary heap.
Tuple Fields§
§0: PublicAddressTrait Implementations§
Source§impl Clone for PoolAddress
impl Clone for PoolAddress
Source§fn clone(&self) -> PoolAddress
fn clone(&self) -> PoolAddress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Deref for PoolAddress
impl Deref for PoolAddress
Source§impl From<PoolAddress> for PublicAddress
impl From<PoolAddress> for PublicAddress
Source§fn from(value: PoolAddress) -> Self
fn from(value: PoolAddress) -> Self
Converts to this type from the input type.
Source§impl Ord for PoolAddress
impl Ord for PoolAddress
Source§fn cmp(&self, other: &PoolAddress) -> Ordering
fn cmp(&self, other: &PoolAddress) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PoolAddress
impl PartialEq for PoolAddress
Source§impl PartialOrd for PoolAddress
impl PartialOrd for PoolAddress
impl Eq for PoolAddress
impl StructuralPartialEq for PoolAddress
Auto Trait Implementations§
impl Freeze for PoolAddress
impl RefUnwindSafe for PoolAddress
impl Send for PoolAddress
impl Sync for PoolAddress
impl Unpin for PoolAddress
impl UnwindSafe for PoolAddress
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