pub trait TypeFingerprint {
// Required method
fn fingerprint() -> String;
}
Expand description
A TypeFingerprint is able to return a string that represents the layout of a type. It is intended to capture any structure that will affect serialization via Serde.
Required Methods§
fn fingerprint() -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.