[][src]Struct eosio_system::ProducerInfo

pub struct ProducerInfo {
    pub owner: AccountName,
    pub total_votes: f64,
    pub producer_key: PublicKey,
    pub is_active: bool,
    pub url: String,
    pub unpaid_blocks: u32,
    pub last_claim_time: TimePoint,
    pub location: u16,
    pub producer_authority: BinaryExtension<BlockSigningAuthority>,
}

Defines producer_info structure to be stored in producer_info table, added after version 1.0 https://github.com/EOSIO/eosio.contracts/blob/v1.9.0-rc3/contracts/eosio.system/include/eosio.system/eosio.system.hpp#L180-L200

Fields

owner: AccountNametotal_votes: f64producer_key: PublicKeyis_active: boolurl: Stringunpaid_blocks: u32last_claim_time: TimePointlocation: u16producer_authority: BinaryExtension<BlockSigningAuthority>

Added in version 1.9.0

Trait Implementations

impl Clone for ProducerInfo[src]

impl Debug for ProducerInfo[src]

impl NumBytes for ProducerInfo[src]

impl Read for ProducerInfo[src]

impl Write for ProducerInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for ProducerInfo

impl Send for ProducerInfo

impl Sync for ProducerInfo

impl Unpin for ProducerInfo

impl UnwindSafe for ProducerInfo

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