[][src]Struct elastic::types::document::IndexDocumentMapping

pub struct IndexDocumentMapping<TMapping> where
    TMapping: ObjectMapping
{ /* fields omitted */ }

A wrapper type for serialising user types.

Serialising Document will produce the mapping for the given type, suitable as the mapping for Put Mapping or Create Index.

Trait Implementations

impl<TMapping> Default for IndexDocumentMapping<TMapping> where
    TMapping: ObjectMapping
[src]

impl<TMapping> Serialize for IndexDocumentMapping<TMapping> where
    TMapping: ObjectMapping
[src]

Auto Trait Implementations

impl<TMapping> Send for IndexDocumentMapping<TMapping> where
    TMapping: Send

impl<TMapping> Unpin for IndexDocumentMapping<TMapping> where
    TMapping: Unpin

impl<TMapping> Sync for IndexDocumentMapping<TMapping> where
    TMapping: Sync

impl<TMapping> UnwindSafe for IndexDocumentMapping<TMapping> where
    TMapping: UnwindSafe

impl<TMapping> RefUnwindSafe for IndexDocumentMapping<TMapping> where
    TMapping: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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