Trait lnpbp_bech32::ToBech32Payload
source · pub trait ToBech32Payload {
fn to_bech32_payload(&self) -> Vec<u8> ⓘ;
}
Expand description
Convertor trait for extracting data from a given type which will be part of Bech32 payload
Required Methods§
sourcefn to_bech32_payload(&self) -> Vec<u8> ⓘ
fn to_bech32_payload(&self) -> Vec<u8> ⓘ
Must return a vector with Bech32 payload data