pub trait CreateInput {
type Model: Model;
type Data: Send + Sync;
// Required method
fn into_ir(self) -> Self::Data;
}Expand description
A typed shape that lowers to the Data payload for a create.
The associated Data type is the existing <Model as CreateData>::Data
from prax_query::traits::CreateData — phase 5 will introduce a
NestedWritePlan lowering path; phase 1 keeps the lowering simple.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".