Trait hdk::prelude::HasHash

source ·
pub trait HasHash<T>where
    T: HashType,
{ fn as_hash(&self) -> &HoloHash<T>; fn into_hash(self) -> HoloHash<T>; }
Expand description

Anything which has an owned HoloHashOf.

Required Methods

Get the hash by reference

Convert to the owned hash

Implementors