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: Address
Account address.
operator_address: Address
Operator address.
consensus_pubkey: String
Consensus public key (Bech32)
rank: u64
Validator rank.
bonded_height: Height
Bonded height.
bonded_time: Time
Bonded time.
jailed: bool
Is this validator jailed?
status: u64
Validator status.
tokens: Amount
Tokens.
Delegator shares.
moniker: Moniker
Validator moniker.
identity: String
Validator identity.
website: String
Validator web site.
details: String
Validator details.
unbonding_height: Height
Unbonding height.
unbonding_time: Time
Unbonding time.
rate: Rate
Validator commission rate.
max_rate: Rate
Maximum validator commission rate.
max_change_rate: Rate
Maximum rate at which validator commission can be changed.
update_time: Time
Time when the validator was updated.
uptime: Summary
Uptime summary.
min_self_delegation: Amount
Minimum self-delegation.
keybase_url: String
Keybase URL.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Validator
impl<'de> Deserialize<'de> for Validator
sourcefn 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 RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnwindSafe for Validator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more