[][src]Struct eosio::ProducerKey

pub struct ProducerKey {
    pub producer_name: AccountName,
    pub block_signing_key: PublicKey,
}

Maps producer with its signing key, used for producer schedule https://github.com/EOSIO/eosio.cdt/blob/796ff8bee9a0fc864f665a0a4d018e0ff18ac383/libraries/eosiolib/contracts/eosio/producer_schedule.hpp#L15-L45

Fields

producer_name: AccountName

Name of the producer

block_signing_key: PublicKey

Block signing key used by this producer

Trait Implementations

impl Clone for ProducerKey[src]

impl Debug for ProducerKey[src]

impl Default for ProducerKey[src]

impl NumBytes for ProducerKey[src]

impl Read for ProducerKey[src]

impl Write for ProducerKey[src]

Auto Trait Implementations

impl Send for ProducerKey

impl Sync for ProducerKey

impl Unpin for ProducerKey

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.