[][src]Struct casper_engine_grpc_server::engine_server::ipc::GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight

pub struct GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight {
    pub public_key_bytes: Vec<u8>,
    pub weight: SingularPtrField<BigInt>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

public_key_bytes: Vec<u8>weight: SingularPtrField<BigInt>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

pub fn new() -> GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

pub fn get_public_key_bytes(&self) -> &[u8][src]

pub fn clear_public_key_bytes(&mut self)[src]

pub fn set_public_key_bytes(&mut self, v: Vec<u8>)[src]

pub fn mut_public_key_bytes(&mut self) -> &mut Vec<u8>[src]

pub fn take_public_key_bytes(&mut self) -> Vec<u8>[src]

pub fn get_weight(&self) -> &BigInt[src]

pub fn clear_weight(&mut self)[src]

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

pub fn set_weight(&mut self, v: BigInt)[src]

pub fn mut_weight(&mut self) -> &mut BigInt[src]

pub fn take_weight(&mut self) -> BigInt[src]

Trait Implementations

impl Clear for GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

impl Clone for GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

impl Debug for GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

impl Default for GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

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

impl Message for GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

impl PartialEq<GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight> for GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

impl ProtobufValue for GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[src]

impl StructuralPartialEq for GetEraValidatorsResponse_ValidatorWeights_ValidatorWeight[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> FromBits<T> for T

impl<T> Instrument for T[src]

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