pub trait EntityCreateInput: Sized {
type Entity: EntityValue;
// Required method
fn materialize_create(
self,
) -> Result<EntityCreateMaterialization<Self::Entity>, InternalError>;
}Expand description
EntityCreateInput
Create-authored typed input for one entity. This is intentionally distinct from the readable entity shape so generated and managed fields can stay structurally un-authorable on typed creates.
Required Associated Types§
type Entity: EntityValue
Required Methods§
Sourcefn materialize_create(
self,
) -> Result<EntityCreateMaterialization<Self::Entity>, InternalError>
fn materialize_create( self, ) -> Result<EntityCreateMaterialization<Self::Entity>, InternalError>
Materialize one typed create payload plus authored-slot provenance.
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.