Module field

Source
Expand description

Module with the common definitions for the fields available in Typesense.

Macros§

impl_to_typesense_field
macro used internally to add implementations of ToTypesenseField for several rust types.

Structs§

Field
FieldBuilder
Builder for the Field struct.
FieldEmbed

Traits§

ToTypesenseField
Trait that should implement each type of a document, in order to properly serialize the Collection Schema according to the Typesense reference.

Type Aliases§

FieldType
Type for a field. Currently it is a wrapping to a String but it could be extended to a enum