Struct fuels_types::bech32::Bech32Address
source · [−]pub struct Bech32Address {
pub hrp: String,
pub hash: Bytes32,
}
Fields
hrp: String
hash: Bytes32
Implementations
Trait Implementations
sourceimpl Clone for Bech32Address
impl Clone for Bech32Address
sourcefn clone(&self) -> Bech32Address
fn clone(&self) -> Bech32Address
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Bech32Address
impl Debug for Bech32Address
sourceimpl Display for Bech32Address
impl Display for Bech32Address
sourceimpl From<&Bech32Address> for Address
impl From<&Bech32Address> for Address
sourcefn from(data: &Bech32Address) -> Address
fn from(data: &Bech32Address) -> Address
Converts to this type from the input type.
sourceimpl From<Address> for Bech32Address
impl From<Address> for Bech32Address
sourceimpl From<Bech32Address> for Address
impl From<Bech32Address> for Address
sourcefn from(data: Bech32Address) -> Address
fn from(data: Bech32Address) -> Address
Converts to this type from the input type.
sourceimpl FromStr for Bech32Address
impl FromStr for Bech32Address
sourceimpl PartialEq<Bech32Address> for Bech32Address
impl PartialEq<Bech32Address> for Bech32Address
sourcefn eq(&self, other: &Bech32Address) -> bool
fn eq(&self, other: &Bech32Address) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Bech32Address) -> bool
fn ne(&self, other: &Bech32Address) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more