pub trait LlmOptimizationPayload: Serialize {
const SCHEMA_NAME: &'static str;
const SCHEMA_VERSION: &'static str;
}Expand description
Trait implemented by typed plugin payloads embedded in an optimization contribution.
Required Associated Constants§
Sourceconst SCHEMA_NAME: &'static str
const SCHEMA_NAME: &'static str
Stable schema name for the payload.
Sourceconst SCHEMA_VERSION: &'static str
const SCHEMA_VERSION: &'static str
Schema version for the payload.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".