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

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

A transaction output, can be consumed by a TxIn input of the matching format.

Fields

amount: VarInt

The amount sent to the associated key, can be 0 in case of Confidential Transaction (CT).

target: TxOutTarget

The output target format.

Implementations

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 Decodable for TxOut[src]

impl<'de> Deserialize<'de> for TxOut[src]

impl Encodable for TxOut[src]

impl Serialize for TxOut[src]

impl StrictDecode for TxOut[src]

This is supported on crate feature strict_encoding_support only.

impl StrictEncode for TxOut[src]

This is supported on crate feature strict_encoding_support only.

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.