pub struct ValidatorExtend {
pub bls_pub_key: Bytes,
pub pub_key: Bytes,
pub address: H160,
pub propose_weight: u32,
pub vote_weight: u32,
}Fields§
§bls_pub_key: Bytes§pub_key: Bytes§address: H160§propose_weight: u32§vote_weight: u32Trait Implementations§
Source§impl Clone for ValidatorExtend
impl Clone for ValidatorExtend
Source§fn clone(&self) -> ValidatorExtend
fn clone(&self) -> ValidatorExtend
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 Debug for ValidatorExtend
impl Debug for ValidatorExtend
Source§impl<'de> Deserialize<'de> for ValidatorExtend
impl<'de> Deserialize<'de> for ValidatorExtend
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 for ValidatorExtend
impl PartialEq for ValidatorExtend
Source§impl Serialize for ValidatorExtend
impl Serialize for ValidatorExtend
impl Eq for ValidatorExtend
impl StructuralPartialEq for ValidatorExtend
Auto Trait Implementations§
impl !Freeze for ValidatorExtend
impl RefUnwindSafe for ValidatorExtend
impl Send for ValidatorExtend
impl Sync for ValidatorExtend
impl Unpin for ValidatorExtend
impl UnwindSafe for ValidatorExtend
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