[][src]Enum monero::blockdata::transaction::SubField

pub enum SubField {
    TxPublicKey(PublicKey),
    Nonce(Vec<u8>),
    Padding(u8),
    MergeMining(VarIntHash),
    AdditionalPublickKey(Vec<PublicKey>),
    MysteriousMinerGate(String),
}

Each sub-field contains a sub-field tag followed by sub-field content of fixed or variable length, in variable length case the length is encoded with a VarInt before the content itself.

Variants

TxPublicKey(PublicKey)

Transaction public key, fixed length of 32 bytes

Nonce(Vec<u8>)

255 bytes limited nonce, can contain an encrypted or unencrypted payment id, variable length

Padding(u8)

Padding size is limited to 255 null bytes, variable length

MergeMining(VarIntHash)

Merge mining infos: depth and merkle_root, fixed length of one VarInt and 32 bytes hash

AdditionalPublickKey(Vec<PublicKey>)

Additional public keys for Subaddresses outputs, variable length of n additional public keys

MysteriousMinerGate(String)

Mysterious MinerGate, variable length

Trait Implementations

impl Clone for SubField[src]

impl Debug for SubField[src]

impl<D: Decoder> Decodable<D> for SubField[src]

impl Display for SubField[src]

impl<S: Encoder> Encodable<S> for SubField[src]

impl PartialEq<SubField> for SubField[src]

impl StructuralPartialEq for SubField[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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.