pub trait DocumentKeyType { fn key_type() -> KeyType { ... } }
Field key type inference
Get type of field key by field type