Struct helium_api::validators::Validator[][src]

pub struct Validator {
    pub address: String,
    pub owner: String,
    pub stake: u64,
    pub last_heartbeat: u64,
    pub version_heartbeat: u64,
    pub stake_status: String,
}

Represents a validator on the blockchain.

Fields

address: String

The validator address is the base58 check-encoded public key of the validator.

owner: String

The validator pwner is the base58 check-encoded public key of the owner of the validator.

stake: u64

The staked amount for the validator

last_heartbeat: u64

The last heartbeat transaction of the validator

version_heartbeat: u64

The last heartbeat version of the validator heartbeat

stake_status: String

The current status of the validator (staked, cooldown, unstaked)

Trait Implementations

impl Clone for Validator[src]

impl Debug for Validator[src]

impl<'de> Deserialize<'de> for Validator[src]

impl Serialize for Validator[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.