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§fn from(contract_id: ContractId) -> Self
fn from(contract_id: ContractId) -> Self
Converts to this type from the input type.
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
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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.