pub trait HasHash { type HashType: HashType; // Required methods fn as_hash(&self) -> &HoloHash<Self::HashType>; fn into_hash(self) -> HoloHash<Self::HashType>; }
Anything which has an owned HoloHashOf.
The type of the hash which is had.
Get the hash by reference
Convert to the owned hash