[−]Struct orga::abci::messages::ResponseInitChain

pub struct ResponseInitChain {
    pub consensus_params: SingularPtrField<ConsensusParams>,
    pub validators: RepeatedField<ValidatorUpdate>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

consensus_params: SingularPtrField<ConsensusParams>validators: RepeatedField<ValidatorUpdate>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ResponseInitChain

pub fn new() -> ResponseInitChain

pub fn get_consensus_params(&self) -> &ConsensusParams

pub fn clear_consensus_params(&mut self)

pub fn has_consensus_params(&self) -> bool

pub fn set_consensus_params(&mut self, v: ConsensusParams)

pub fn mut_consensus_params(&mut self) -> &mut ConsensusParams

pub fn take_consensus_params(&mut self) -> ConsensusParams

pub fn get_validators(&self) -> &[ValidatorUpdate]

pub fn clear_validators(&mut self)

pub fn set_validators(&mut self, v: RepeatedField<ValidatorUpdate>)

pub fn mut_validators(&mut self) -> &mut RepeatedField<ValidatorUpdate>

pub fn take_validators(&mut self) -> RepeatedField<ValidatorUpdate>

Trait Implementations

impl Clear for ResponseInitChain

impl Clone for ResponseInitChain

impl Debug for ResponseInitChain

impl<'a> Default for &'a ResponseInitChain

impl Default for ResponseInitChain

impl Message for ResponseInitChain

impl PartialEq<ResponseInitChain> for ResponseInitChain

impl ProtobufValue for ResponseInitChain

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>,