[][src]Struct rs_es::json::FieldBased

pub struct FieldBased<F, I, O> {
    pub field: F,
    pub inner: I,
    pub outer: O,
}

A recurring theme in ElasticSearch is for JSON to be {"variable": {..map of options..}

Fields

field: Finner: Iouter: O

Methods

impl<F, I, O> FieldBased<F, I, O>[src]

pub fn new(field: F, inner: I, outer: O) -> Self[src]

Trait Implementations

impl<F: Debug, I: Debug, O: Debug> Debug for FieldBased<F, I, O>[src]

impl<F, I, O> Serialize for FieldBased<F, I, O> where
    F: Serialize,
    I: Serialize,
    O: MergeSerialize
[src]

Auto Trait Implementations

impl<F, I, O> RefUnwindSafe for FieldBased<F, I, O> where
    F: RefUnwindSafe,
    I: RefUnwindSafe,
    O: RefUnwindSafe

impl<F, I, O> Send for FieldBased<F, I, O> where
    F: Send,
    I: Send,
    O: Send

impl<F, I, O> Sync for FieldBased<F, I, O> where
    F: Sync,
    I: Sync,
    O: Sync

impl<F, I, O> Unpin for FieldBased<F, I, O> where
    F: Unpin,
    I: Unpin,
    O: Unpin

impl<F, I, O> UnwindSafe for FieldBased<F, I, O> where
    F: UnwindSafe,
    I: UnwindSafe,
    O: UnwindSafe

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