Trait breez_sdk_core::bitcoin::util::psbt::serialize::Deserialize

pub trait Deserialize: Sized {
    // Required method
    fn deserialize(bytes: &[u8]) -> Result<Self, Error>;
}
Expand description

A trait for deserializing a value from raw data in PSBT key-value pairs.

Required Methods§

fn deserialize(bytes: &[u8]) -> Result<Self, Error>

Deserialize a value from raw data.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Deserialize for (Script, LeafVersion)

§

impl Deserialize for (XOnlyPublicKey, TapLeafHash)

§

impl Deserialize for (Fingerprint, DerivationPath)

§

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

§

impl Deserialize for Vec<u8>

§

fn deserialize(bytes: &[u8]) -> Result<Vec<u8>, Error>

§

impl Deserialize for Vec<TapLeafHash>

Implementors§

§

impl Deserialize for EcdsaSig

§

impl Deserialize for breez_sdk_core::bitcoin::PublicKey

§

impl Deserialize for SchnorrSig

§

impl Deserialize for Script

§

impl Deserialize for Transaction

§

impl Deserialize for TxOut

§

impl Deserialize for Witness

§

impl Deserialize for XOnlyPublicKey

§

impl Deserialize for breez_sdk_core::bitcoin::util::key::secp256k1::hashes::hash160::Hash

§

impl Deserialize for breez_sdk_core::bitcoin::util::key::secp256k1::hashes::ripemd160::Hash

§

impl Deserialize for breez_sdk_core::bitcoin::util::key::secp256k1::hashes::sha256::Hash

§

impl Deserialize for breez_sdk_core::bitcoin::util::key::secp256k1::hashes::sha256d::Hash

§

impl Deserialize for breez_sdk_core::bitcoin::util::key::secp256k1::PublicKey

§

impl Deserialize for ControlBlock

§

impl Deserialize for TapBranchHash

§

impl Deserialize for TapLeafHash

§

impl Deserialize for PsbtSighashType

§

impl Deserialize for TapTree