Struct qtum_address_rust::QtumAddress
source · pub struct QtumAddress { /* private fields */ }
Expand description
Structure for conversion ktum addresses
Implementations§
source§impl QtumAddress
impl QtumAddress
sourcepub fn new(network: QtumNetwork) -> Self
pub fn new(network: QtumNetwork) -> Self
Initialization of the address conversion structure
sourcepub fn gethexaddress(&self, address: &str) -> Result<String, &str>
pub fn gethexaddress(&self, address: &str) -> Result<String, &str>
Converts a base58 pubkeyhash address to a hex address for use in smart contracts.
Auto Trait Implementations§
impl RefUnwindSafe for QtumAddress
impl Send for QtumAddress
impl Sync for QtumAddress
impl Unpin for QtumAddress
impl UnwindSafe for QtumAddress
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more