[]Struct orga::abci::messages::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

pub fn new() -> ValidatorUpdate

pub fn get_pub_key(&self) -> &PubKey

pub fn clear_pub_key(&mut self)

pub fn has_pub_key(&self) -> bool

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

pub fn mut_pub_key(&mut self) -> &mut PubKey

pub fn take_pub_key(&mut self) -> PubKey

pub fn get_power(&self) -> i64

pub fn clear_power(&mut self)

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

Trait Implementations

impl Clear for ValidatorUpdate

impl Clone for ValidatorUpdate

impl Debug for ValidatorUpdate

impl Default for ValidatorUpdate

impl<'a> Default for &'a ValidatorUpdate

impl Message for ValidatorUpdate

impl PartialEq<ValidatorUpdate> for ValidatorUpdate

impl ProtobufValue for ValidatorUpdate

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> Clear for T where
    T: InitializableFromZeroed + ?Sized

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

impl<T> InitializableFromZeroed for T where
    T: Default

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,