pub trait Document:
Serialize
+ DeserializeOwned
+ Debug {
type IDType: Display;
// Required method
fn get_id(&self) -> &Self::IDType;
}Expand description
Userdefined Document MUST impl
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".