is_valid_ty

Function is_valid_ty 

Source
pub fn is_valid_ty(
    dt: &DataType,
    type_map: &TypeCollection,
) -> 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.