Struct rs_es::query::Doc [] [src]

pub struct Doc {
    // some fields omitted
}

Methods

impl Doc

fn from_doc<A, B>(index: A, doc_type: B, doc: Json) -> Doc where A: Into<String>, B: Into<String>

fn id<A, B, C>(index: A, doc_type: B, id: C) -> Doc where A: Into<String>, B: Into<String>, C: Into<String>

Trait Implementations

impl ToJson for Doc

fn to_json(&self) -> Json

Derived Implementations

impl Debug for Doc

fn fmt(&self, __arg_0: &mut Formatter) -> Result