Skip to main content

register_custom_data_entry

Function register_custom_data_entry 

Source
pub fn register_custom_data_entry(
    entry: ValidatedCustomDataRegistration,
) -> Result<()>
Expand description

Registers a single custom-data type with the model data registry.

ยงErrors

Returns an error if ensure_json_deserializer_registered fails.

The validated registration guarantees a non-null vtable with every required slot present.