[][src]Struct abci::ValidatorUpdate

pub struct ValidatorUpdate {
    pub pub_key: SingularPtrField<PubKey>,
    pub power: i64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

pub_key: SingularPtrField<PubKey>power: i64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ValidatorUpdate[src]

pub fn new() -> ValidatorUpdate[src]

pub fn get_pub_key(&self) -> &PubKey[src]

pub fn clear_pub_key(&mut self)[src]

pub fn has_pub_key(&self) -> bool[src]

pub fn set_pub_key(&mut self, v: PubKey)[src]

pub fn mut_pub_key(&mut self) -> &mut PubKey[src]

pub fn take_pub_key(&mut self) -> PubKey[src]

pub fn get_power(&self) -> i64[src]

pub fn clear_power(&mut self)[src]

pub fn set_power(&mut self, v: i64)[src]

Trait Implementations

impl Clear for ValidatorUpdate[src]

impl Clone for ValidatorUpdate[src]

impl Debug for ValidatorUpdate[src]

impl Default for ValidatorUpdate[src]

impl<'a> Default for &'a ValidatorUpdate[src]

impl Message for ValidatorUpdate[src]

impl PartialEq<ValidatorUpdate> for ValidatorUpdate[src]

impl ProtobufValue for ValidatorUpdate[src]

impl StructuralPartialEq for ValidatorUpdate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.