pub struct VoterInfo {
pub voting_group: Group,
pub voting_power: Value,
pub delegations_power: u64,
pub delegations_count: u64,
pub voting_power_saturation: f64,
}
Fields§
§voting_group: Group
§voting_power: Value
§delegations_power: u64
§delegations_count: u64
§voting_power_saturation: f64
Trait Implementations§
source§impl<'de> Deserialize<'de> for VoterInfo
impl<'de> Deserialize<'de> for VoterInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<VoterInfo> for VoterInfo
impl PartialEq<VoterInfo> for VoterInfo
impl StructuralPartialEq for VoterInfo
Auto Trait Implementations§
impl RefUnwindSafe for VoterInfo
impl Send for VoterInfo
impl Sync for VoterInfo
impl Unpin for VoterInfo
impl UnwindSafe for VoterInfo
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