Enum tantivy::schema::Type[][src]

pub enum Type {
    Str,
    U64,
    I64,
    HierarchicalFacet,
    Bytes,
}

Type of the value that a field can take.

Contrary to FieldType, this does not include the way the field must be indexed.

Variants

&str

u64

i64

tantivy::schema::Facet. Passed as a string in JSON.

Vec<u8>

Trait Implementations

impl Copy for Type
[src]

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Type
[src]

Formats the value using the given formatter. Read more

impl Eq for Type
[src]

impl PartialEq for Type
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Type

impl Sync for Type