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

pub trait StaticType: DocumentType {
    fn static_ty() -> Type<'static> { ... }
}

An indexable Elasticsearch type with a static document type.

Provided methods

fn static_ty() -> Type<'static>

Get the statically known type this document belongs to.

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...