pub struct MerkleTreeKey(/* private fields */);
Expand description
The safe Merkle tree storage key prevents Merkle tree structure manipulations. The type contains only one constructor that hashes the storage key.
Implementations§
source§impl MerkleTreeKey
impl MerkleTreeKey
Trait Implementations§
source§impl AsRef<[u8]> for MerkleTreeKey
impl AsRef<[u8]> for MerkleTreeKey
source§impl Clone for MerkleTreeKey
impl Clone for MerkleTreeKey
source§fn clone(&self) -> MerkleTreeKey
fn clone(&self) -> MerkleTreeKey
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 MerkleTreeKey
impl Debug for MerkleTreeKey
source§impl Deref for MerkleTreeKey
impl Deref for MerkleTreeKey
source§impl From<MerkleTreeKey> for Bytes32
impl From<MerkleTreeKey> for Bytes32
source§fn from(value: MerkleTreeKey) -> Self
fn from(value: MerkleTreeKey) -> Self
Converts to this type from the input type.
source§impl Hash for MerkleTreeKey
impl Hash for MerkleTreeKey
source§impl PartialEq for MerkleTreeKey
impl PartialEq for MerkleTreeKey
impl Copy for MerkleTreeKey
impl Eq for MerkleTreeKey
impl StructuralPartialEq for MerkleTreeKey
Auto Trait Implementations§
impl Freeze for MerkleTreeKey
impl RefUnwindSafe for MerkleTreeKey
impl Send for MerkleTreeKey
impl Sync for MerkleTreeKey
impl Unpin for MerkleTreeKey
impl UnwindSafe for MerkleTreeKey
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> StorageAsMut for T
impl<T> StorageAsMut for T
fn storage<Type>(&mut self) -> StorageMut<'_, Self, Type>where
Type: Mappable,
fn storage_as_mut<Type>(&mut self) -> StorageMut<'_, Self, Type>where
Type: Mappable,
source§impl<T> StorageAsRef for T
impl<T> StorageAsRef for T
fn storage<Type>(&self) -> StorageRef<'_, Self, Type>where
Type: Mappable,
fn storage_as_ref<Type>(&self) -> StorageRef<'_, Self, Type>where
Type: Mappable,
source§impl<T> ToHex for T
impl<T> ToHex for T
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)