pub trait ToElectrumScriptHash {
// Required method
fn to_electrum_scripthash(&self) -> ScriptHash;
}Expand description
Trait used to convert a struct into the Electrum representation of an address
Required Methods§
Sourcefn to_electrum_scripthash(&self) -> ScriptHash
fn to_electrum_scripthash(&self) -> ScriptHash
Transforms the current struct into a ScriptHash
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".