pub trait Serializable {
const SERIALIZABLE_NAME: &'static str;
}
Expand description
Trait implemented by @serializable
types.
Required Associated Constants§
Sourceconst SERIALIZABLE_NAME: &'static str
const SERIALIZABLE_NAME: &'static str
The serialized name.
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.