Struct rs_es::json::FieldBased
[−]
[src]
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: F
inner: I
outer: O
Methods
impl<F, I, O> FieldBased<F, I, O>
[src]
fn new(field: F, inner: I, outer: O) -> Self
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]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.