Derive Macro tari_infra_derive::Hashable [−][src]
#[derive(Hashable)]
{
// Attributes available to this derive:
#[digest]
#[Hashable]
#[ExtendBytes]
}
Expand description
This macro will provide a Hashable implementation to the a given struct using a Digest implementing Hash function
To use this provide #[derive(Hashable)] to the struct and #[Digest = “