pub trait DeclaredFields: Sized {
// Required method
fn into_declared(self) -> Self;
}Expand description
Recursively retain declared fields while replacing explicit extension bags with their default value. No extension value is read or cloned. A formal JSON Schema/arguments/metadata field is data, even when it uses the same map or JSON value type as an extension bag, and is therefore retained intact.
Required Methods§
fn into_declared(self) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".