pub trait StandardConfig:
Debug
+ Clone
+ Default
+ Serialize
+ for<'de> Deserialize<'de> {
// Provided methods
fn validate(&self) -> Result<()> { ... }
fn merge(self, other: Self) -> Self { ... }
}Expand description
Standard configuration trait
Provided Methods§
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.