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

pub struct Doc { /* fields omitted */ }

Methods

impl Doc[src]

pub fn from_doc<A, B>(index: A, doc_type: B, doc: Value) -> Doc where
    A: Into<String>,
    B: Into<String>, 
[src]

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

Trait Implementations

impl Debug for Doc[src]

impl Serialize for Doc[src]

Auto Trait Implementations

impl RefUnwindSafe for Doc

impl Send for Doc

impl Sync for Doc

impl Unpin for Doc

impl UnwindSafe for Doc

Blanket Implementations

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

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

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

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, U> TryInto<U> for T where
    U: TryFrom<T>, 

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