breez_sdk_liquid::bitcoin::util::psbt::serialize

Trait Serialize

pub trait Serialize {
    // Required method
    fn serialize(&self) -> Vec<u8> ;
}
Expand description

A trait for serializing a value as raw data for insertion into PSBT key-value pairs.

Required Methods§

fn serialize(&self) -> Vec<u8>

Serialize a value as raw data.

Implementations on Foreign Types§

§

impl Serialize for (Script, LeafVersion)

§

fn serialize(&self) -> Vec<u8>

§

impl Serialize for (XOnlyPublicKey, TapLeafHash)

§

fn serialize(&self) -> Vec<u8>

§

impl Serialize for (Fingerprint, DerivationPath)

§

fn serialize(&self) -> Vec<u8>

§

impl Serialize for (Vec<TapLeafHash>, (Fingerprint, DerivationPath))

§

fn serialize(&self) -> Vec<u8>

§

impl Serialize for Vec<u8>

§

fn serialize(&self) -> Vec<u8>

§

impl Serialize for Vec<TapLeafHash>

§

fn serialize(&self) -> Vec<u8>

Implementors§

§

impl Serialize for EcdsaSig

§

impl Serialize for breez_sdk_liquid::bitcoin::PublicKey

§

impl Serialize for SchnorrSig

§

impl Serialize for Script

§

impl Serialize for Transaction

§

impl Serialize for TxOut

§

impl Serialize for Witness

§

impl Serialize for XOnlyPublicKey

§

impl Serialize for breez_sdk_liquid::bitcoin::util::key::secp256k1::hashes::hash160::Hash

§

impl Serialize for breez_sdk_liquid::bitcoin::util::key::secp256k1::hashes::ripemd160::Hash

§

impl Serialize for breez_sdk_liquid::bitcoin::util::key::secp256k1::hashes::sha256::Hash

§

impl Serialize for breez_sdk_liquid::bitcoin::util::key::secp256k1::hashes::sha256d::Hash

§

impl Serialize for breez_sdk_liquid::bitcoin::util::key::secp256k1::PublicKey

§

impl Serialize for ControlBlock

§

impl Serialize for TapBranchHash

§

impl Serialize for TapLeafHash

§

impl Serialize for PsbtSighashType

§

impl Serialize for TapTree