Enum elastic::types::prelude::StringField [] [src]

pub enum StringField {
    TokenCount(ElasticTokenCountFieldMapping),
    Completion(ElasticCompletionFieldMapping),
    Keyword(KeywordFieldMapping),
    Text(TextFieldMapping),
}

A string sub-field type.

String types can have a number of alternative field representations for different purposes.

Variants

A token_count sub field.

A completion suggester sub field.

A keyword sub field.

A text sub field.

Trait Implementations

impl Copy for StringField
[src]

impl Serialize for StringField
[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for StringField
[src]

Formats the value using the given formatter.

impl Clone for StringField
[src]