Struct terra_rust_api::staking_types::Validator [−][src]
pub struct Validator { pub operator_address: String, pub consensus_pubkey: String, pub jailed: bool, pub status: u16, pub tokens: u64, pub delegator_shares: f64, pub description: ValidatorDescription, pub unbonding_height: u64, pub unbonding_time: DateTime<Utc>, pub commission: ValidatorCommission, pub min_self_delegation: u64, }
Top level Validator response
Fields
operator_address: String
The reference address for the validator
consensus_pubkey: String
used in block generation
jailed: bool
Is this validator in the active validator set
status: u16
represents the process of being jailed.
tokens: u64
Total amount of tokens delegated to the validator
Total amount the validator has delegated themselves.
description: ValidatorDescription
The validator description structure
unbonding_height: u64
For Jailed / soon to be jailed validators. The height of the chain that it occurred
unbonding_time: DateTime<Utc>
For Jailed / soon to be jailed validators. When that occurred
commission: ValidatorCommission
Commission structure
min_self_delegation: u64
Minimum amount the validator requires to delegate. Going under this removes the validator from the set
Trait Implementations
impl<'de> Deserialize<'de> for Validator
[src]
impl<'de> Deserialize<'de> for Validator
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Validator
impl RefUnwindSafe for Validator
impl UnwindSafe for Validator
impl UnwindSafe for Validator
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self