Struct elastic::types::document::prelude::ValueDocumentMapping
[−]
[src]
pub struct ValueDocumentMapping;
Mapping for an anonymous json object.
Trait Implementations
impl Default for ValueDocumentMapping
[src]
fn default() -> ValueDocumentMapping
impl PropertiesMapping for ValueDocumentMapping
[src]
fn props_len() -> usize
The number of mapped property fields for this type. Read more
fn serialize_props<S>(&mut S) -> Result<(), <S as SerializeStruct>::Error> where
S: SerializeStruct,
S: SerializeStruct,
Serialisation for the mapped property fields on this type. Read more
impl DocumentMapping for ValueDocumentMapping
[src]
fn name() -> &'static str
Get the indexed name for this mapping.
fn data_type() -> &'static str
Get the type name for this mapping, like object
or nested
.
fn dynamic() -> Option<Dynamic>
Whether or not new properties should be added dynamically to an existing object. Accepts true
(default), false
and strict
. Read more
fn enabled() -> Option<bool>
Whether the JSON value given for the object field should be parsed and indexed (true
, default) or completely ignored (false
). Read more
fn include_in_all() -> Option<bool>
Sets the default include_in_all
value for all the properties within the object. The object itself is not added to the _all
field. Read more