Struct cfx_addr::DecodedRawAddress
source · pub struct DecodedRawAddress {
pub input_base32_address: String,
pub parsed_address_bytes: Vec<u8>,
pub hex_address: Option<Address>,
pub network: Network,
}
Expand description
Struct containing the raw bytes and metadata of a Conflux address.
Fields§
§input_base32_address: String
Base32 address. This is included for debugging purposes.
parsed_address_bytes: Vec<u8>
Address bytes
hex_address: Option<Address>
The parsed address in H160 format.
network: Network
Network
Trait Implementations§
source§impl Clone for DecodedRawAddress
impl Clone for DecodedRawAddress
source§fn clone(&self) -> DecodedRawAddress
fn clone(&self) -> DecodedRawAddress
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecodedRawAddress
impl Debug for DecodedRawAddress
source§impl Hash for DecodedRawAddress
impl Hash for DecodedRawAddress
source§impl PartialEq for DecodedRawAddress
impl PartialEq for DecodedRawAddress
source§fn eq(&self, other: &DecodedRawAddress) -> bool
fn eq(&self, other: &DecodedRawAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DecodedRawAddress
impl StructuralPartialEq for DecodedRawAddress
Auto Trait Implementations§
impl RefUnwindSafe for DecodedRawAddress
impl Send for DecodedRawAddress
impl Sync for DecodedRawAddress
impl Unpin for DecodedRawAddress
impl UnwindSafe for DecodedRawAddress
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