[][src]Struct eosio::KeyWeight

pub struct KeyWeight {
    pub key: PublicKey,
    pub weight: u64,
}

pairs a public key with an integer weight

Fields

key: PublicKey

public key used in a weighted threshold multi-sig authority

weight: u64

weight associated with a signature from the private key associated with the accompanying public key

Trait Implementations

impl Clone for KeyWeight[src]

impl Debug for KeyWeight[src]

impl Default for KeyWeight[src]

impl From<PublicKey> for KeyWeight[src]

impl NumBytes for KeyWeight[src]

impl Read for KeyWeight[src]

impl Write for KeyWeight[src]

Auto Trait Implementations

impl Send for KeyWeight

impl Sync for KeyWeight

impl Unpin for KeyWeight

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.