[][src]Struct monero::blockdata::transaction::TxOut

pub struct TxOut {
    pub amount: VarInt,
    pub target: TxOutTarget,
}

A transaction output, can be consumed by an input

Fields

amount: VarInt

The amount sent to the associated key, can be 0 in case of CT

target: TxOutTarget

The target format

Methods

impl TxOut[src]

pub fn get_pubkeys(&self) -> Option<Vec<PublicKey>>[src]

Retreive the public keys, if any

Trait Implementations

impl Clone for TxOut[src]

impl Debug for TxOut[src]

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

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

Auto Trait Implementations

impl RefUnwindSafe for TxOut

impl Send for TxOut

impl Sync for TxOut

impl Unpin for TxOut

impl UnwindSafe for TxOut

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