[−][src]Struct eosio::ProducerKey
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: AccountNameName of the producer
block_signing_key: PublicKeyBlock signing key used by this producer
Trait Implementations
impl Clone for ProducerKey[src]
fn clone(&self) -> ProducerKey[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ProducerKey[src]
impl Default for ProducerKey[src]
fn default() -> ProducerKey[src]
impl NumBytes for ProducerKey[src]
impl Read for ProducerKey[src]
fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>[src]
fn unpack<T: AsRef<[u8]>>(bytes: T) -> Result<Self, ReadError>[src]
impl Write for ProducerKey[src]
fn write(&self, bytes: &mut [u8], pos: &mut usize) -> Result<(), WriteError>[src]
fn pack(&self) -> Result<Vec<u8>, WriteError>[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,