[−][src]Derive Macro tari_infra_derive::Hashable
#[derive(Hashable)] { // Attributes available to this derive: #[digest] #[Hashable] #[ExtendBytes] }
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 = "