pub trait HasHash<T: HashType> { fn as_hash(&self) -> &HoloHash<T>; fn into_hash(self) -> HoloHash<T>; }
Anything which has an owned HoloHashOf.
Get the hash by reference
Convert to the owned hash