Struct fuels_types::bech32::Bech32Address
source · pub struct Bech32Address {
pub hrp: String,
pub hash: Bytes32,
}
Fields§
§hrp: String
§hash: Bytes32
Implementations§
Trait Implementations§
source§impl Clone for Bech32Address
impl Clone for Bech32Address
source§fn clone(&self) -> Bech32Address
fn clone(&self) -> Bech32Address
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 Bech32Address
impl Debug for Bech32Address
source§impl Default for Bech32Address
impl Default for Bech32Address
source§fn default() -> Bech32Address
fn default() -> Bech32Address
Returns the “default value” for a type. Read more
source§impl Display for Bech32Address
impl Display for Bech32Address
source§impl From<&Bech32Address> for Address
impl From<&Bech32Address> for Address
source§fn from(data: &Bech32Address) -> Address
fn from(data: &Bech32Address) -> Address
Converts to this type from the input type.
source§impl From<Address> for Bech32Address
impl From<Address> for Bech32Address
source§impl From<Bech32Address> for Address
impl From<Bech32Address> for Address
source§fn from(data: Bech32Address) -> Address
fn from(data: Bech32Address) -> Address
Converts to this type from the input type.
source§impl FromStr for Bech32Address
impl FromStr for Bech32Address
source§impl Hash for Bech32Address
impl Hash for Bech32Address
source§impl PartialEq<Bech32Address> for Bech32Address
impl PartialEq<Bech32Address> for Bech32Address
source§fn eq(&self, other: &Bech32Address) -> bool
fn eq(&self, other: &Bech32Address) -> bool
impl Eq for Bech32Address
impl StructuralEq for Bech32Address
impl StructuralPartialEq for Bech32Address
Auto Trait Implementations§
impl RefUnwindSafe for Bech32Address
impl Send for Bech32Address
impl Sync for Bech32Address
impl Unpin for Bech32Address
impl UnwindSafe for Bech32Address
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.