Struct fuels_types::bech32::Bech32ContractId
source · pub struct Bech32ContractId {
pub hrp: String,
pub hash: Bytes32,
}
Fields§
§hrp: String
§hash: Bytes32
Implementations§
Trait Implementations§
source§impl Clone for Bech32ContractId
impl Clone for Bech32ContractId
source§fn clone(&self) -> Bech32ContractId
fn clone(&self) -> Bech32ContractId
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 Bech32ContractId
impl Debug for Bech32ContractId
source§impl Default for Bech32ContractId
impl Default for Bech32ContractId
source§fn default() -> Bech32ContractId
fn default() -> Bech32ContractId
Returns the “default value” for a type. Read more
source§impl Display for Bech32ContractId
impl Display for Bech32ContractId
source§impl From<&Bech32ContractId> for ContractId
impl From<&Bech32ContractId> for ContractId
source§fn from(data: &Bech32ContractId) -> ContractId
fn from(data: &Bech32ContractId) -> ContractId
Converts to this type from the input type.
source§impl From<Bech32ContractId> for ContractId
impl From<Bech32ContractId> for ContractId
source§fn from(data: Bech32ContractId) -> ContractId
fn from(data: Bech32ContractId) -> ContractId
Converts to this type from the input type.
source§impl From<ContractId> for Bech32ContractId
impl From<ContractId> for Bech32ContractId
source§impl FromStr for Bech32ContractId
impl FromStr for Bech32ContractId
source§impl Hash for Bech32ContractId
impl Hash for Bech32ContractId
source§impl PartialEq<Bech32ContractId> for Bech32ContractId
impl PartialEq<Bech32ContractId> for Bech32ContractId
source§fn eq(&self, other: &Bech32ContractId) -> bool
fn eq(&self, other: &Bech32ContractId) -> bool
impl Eq for Bech32ContractId
impl StructuralEq for Bech32ContractId
impl StructuralPartialEq for Bech32ContractId
Auto Trait Implementations§
impl RefUnwindSafe for Bech32ContractId
impl Send for Bech32ContractId
impl Sync for Bech32ContractId
impl Unpin for Bech32ContractId
impl UnwindSafe for Bech32ContractId
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.