pub trait StructValue: Sealed {
type Schema: Schema;
const STRUCT_ID_JSON: &'static str;
}Expand description
A sealed generated struct value associated with its schema marker S.
Required Associated Constants§
Sourceconst STRUCT_ID_JSON: &'static str
const STRUCT_ID_JSON: &'static str
Canonical JSON identity for the projected schema struct.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".