[][src]Trait elastic::types::document::StaticIndex

pub trait StaticIndex: DocumentType {
    fn static_index() -> Index<'static> { ... }
}

An indexable Elasticsearch type with a static index.

Provided methods

fn static_index() -> Index<'static>

Get the statically known index this document belongs to.

Loading content...

Implementations on Foreign Types

impl<'a, TDocument> StaticIndex for &'a TDocument where
    TDocument: StaticIndex
[src]

impl<'a, TDocument> StaticIndex for Cow<'a, TDocument> where
    TDocument: StaticIndex + Clone
[src]

Loading content...

Implementors

Loading content...