Function specta_serde::is_valid_ty

source ยท
pub fn is_valid_ty(dt: &DataType, type_map: &TypeMap) -> Result<(), SerdeError>
Expand description

Check that a DataType is a valid for Serde.

This can be used by exporters which wanna do export-time checks that all types are compatible with Serde formats.