[][src]Struct elastic_types::document::ValueObjectMapping

pub struct ValueObjectMapping;

Mapping for an anonymous json object.

Trait Implementations

impl ObjectMapping for ValueObjectMapping[src]

type Properties = EmptyPropertiesMapping

The source of properties for this document.

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

impl Default for ValueObjectMapping[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,