Struct tantivy::schema::FieldEntry [] [src]

pub struct FieldEntry { /* fields omitted */ }

A FieldEntry represents a field and its configuration. Schema are a collection of FieldEntry

It consists of

Methods

impl FieldEntry
[src]

[src]

Creates a new u64 field entry in the schema, given a name, and some options.

[src]

Creates a new u64 field entry in the schema, given a name, and some options.

[src]

Creates a new i64 field entry in the schema, given a name, and some options.

[src]

Creates a field entry for a facet.

[src]

Returns the name of the field

[src]

Returns the field type

[src]

Returns true iff the field is indexed

[src]

Returns true iff the field is a int (signed or unsigned) fast field

[src]

Returns true iff the field is stored

Trait Implementations

impl Clone for FieldEntry
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FieldEntry
[src]

[src]

Formats the value using the given formatter. Read more

impl Serialize for FieldEntry
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for FieldEntry
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more