pub trait Keyed {
// Required method
fn key(&self) -> &str;
}Expand description
A record with a key that is unique in its list and never changes.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".