[][src]Struct bitcoin::util::psbt::Output

pub struct Output {
    pub redeem_script: Option<Script>,
    pub witness_script: Option<Script>,
    pub hd_keypaths: HashMap<PublicKey, (Fingerprint, DerivationPath)>,
    pub unknown: HashMap<Key, Vec<u8>>,
}

A key-value map for an output of the corresponding index in the unsigned transaction.

Fields

redeem_script: Option<Script>

The redeem script for this output.

witness_script: Option<Script>

The witness script for this output.

hd_keypaths: HashMap<PublicKey, (Fingerprint, DerivationPath)>

A map from public keys needed to spend this output to their corresponding master key fingerprints and derivation paths.

unknown: HashMap<Key, Vec<u8>>

Unknown key-value pairs for this output.

Trait Implementations

impl Map for Output[src]

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

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

impl PartialEq<Output> for Output[src]

impl Default for Output[src]

impl Clone for Output[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Output[src]

Auto Trait Implementations

impl Send for Output

impl Sync for Output

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.