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
TokenCount(ElasticTokenCountFieldMapping)
A token_count
sub field.
Completion(ElasticCompletionFieldMapping)
A completion
suggester sub field.
Keyword(KeywordFieldMapping)
A keyword
sub field.
Text(TextFieldMapping)
A text
sub field.
Trait Implementations
impl Clone for StringField
[src]
fn clone(&self) -> StringField
impl Copy for StringField
[src]
impl Debug for StringField
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Serialize for StringField
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more