pub fn new(key: K, leaf_index: u64, value: ValueHash) -> Self {
        Self {
            key,
            value,
            leaf_index,
        }
    }
Creates a new entry with the specified fields.
core/lib/merkle_tree/src/types/mod.rs