Skip to main content

Module type_map

Module type_map 

Source
Expand description

Map a schema field type string to a Rust type expression.

Functionsยง

borrowed_type
Borrowed-flavor Rust type. Strings and bytes become &'a str and &'a [u8], arrays own their outer Vec, and struct references take the <'a> form.
owned_type
Owned-flavor Rust type for a schema type.