pub struct Validator {
pub bls_pub_key: Bytes,
pub address: H160,
pub propose_weight: u32,
pub vote_weight: u32,
}Available on crate feature
proof only.Fields§
§bls_pub_key: Bytes§address: H160§propose_weight: u32§vote_weight: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Validator
impl<'de> Deserialize<'de> for Validator
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 Ord for Validator
impl Ord for Validator
Source§impl PartialOrd for Validator
impl PartialOrd for Validator
impl Eq for Validator
impl StructuralPartialEq for Validator
Auto Trait Implementations§
impl !Freeze for Validator
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnwindSafe for Validator
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