pub struct Validator {Show 23 fields
pub account_address: Address,
pub operator_address: Address,
pub consensus_pubkey: String,
pub rank: u64,
pub bonded_height: Height,
pub bonded_time: Time,
pub jailed: bool,
pub status: u64,
pub tokens: Amount,
pub delegator_shares: String,
pub moniker: Moniker,
pub identity: String,
pub website: String,
pub details: String,
pub unbonding_height: Height,
pub unbonding_time: Time,
pub rate: Rate,
pub max_rate: Rate,
pub max_change_rate: Rate,
pub update_time: Time,
pub uptime: Summary,
pub min_self_delegation: Amount,
pub keybase_url: String,
}Expand description
/v1/staking/validator endpoint.
Fields§
§account_address: AddressAccount address.
operator_address: AddressOperator address.
consensus_pubkey: StringConsensus public key (Bech32)
rank: u64Validator rank.
bonded_height: HeightBonded height.
bonded_time: TimeBonded time.
jailed: boolIs this validator jailed?
status: u64Validator status.
tokens: AmountTokens.
Delegator shares.
moniker: MonikerValidator moniker.
identity: StringValidator identity.
website: StringValidator web site.
details: StringValidator details.
unbonding_height: HeightUnbonding height.
unbonding_time: TimeUnbonding time.
rate: RateValidator commission rate.
max_rate: RateMaximum validator commission rate.
max_change_rate: RateMaximum rate at which validator commission can be changed.
update_time: TimeTime when the validator was updated.
uptime: SummaryUptime summary.
min_self_delegation: AmountMinimum self-delegation.
keybase_url: StringKeybase URL.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Validator
impl<'de> Deserialize<'de> for Validator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Validator
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnwindSafe for Validator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more