Struct elastic_types::document::ValueDocumentMapping
[−]
[src]
pub struct ValueDocumentMapping;
Mapping for an anonymous json object.
Trait Implementations
impl Default for ValueDocumentMapping
[src]
fn default() -> ValueDocumentMapping
[src]
Returns the "default value" for a type. Read more
impl DocumentMapping for ValueDocumentMapping
[src]
fn name() -> &'static str
[src]
Get the indexed name for this mapping.
fn data_type() -> &'static str
[src]
Get the type name for this mapping, like object
or nested
.
fn dynamic() -> Option<Dynamic>
[src]
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>
[src]
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>
[src]
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