Trait lnpbp_bech32::ToBech32String
source · pub trait ToBech32String {
fn to_bech32_string(&self) -> String;
}
Expand description
Creates Bech32 string with appropriate type data representation.
Depending on the specific type, this may be id
-string, data
-string,
z
-string or other type of HRP.
Required Methods§
sourcefn to_bech32_string(&self) -> String
fn to_bech32_string(&self) -> String
Creates Bech32 string with appropriate type data representation