pub trait Chained {
// Required method
fn prev_hash(&self) -> &str;
}Expand description
A record that participates in the hash chain by exposing the previous record’s hash.
Required Methods§
Sourcefn prev_hash(&self) -> &str
fn prev_hash(&self) -> &str
The hash of the preceding record (or GENESIS_HASH for the first).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".