pub trait EntryName {
// Required method
fn entry_name() -> &'static str;
}Expand description
Trait to specify a name for the Entry.
This is the string that will be used as key in the serialized representation.
Required Methods§
Sourcefn entry_name() -> &'static str
fn entry_name() -> &'static str
Returns the name of the value stored within Entry.
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.