pub struct FieldBased<F, I, O> {
pub field: F,
pub inner: I,
pub outer: O,
}Expand description
A recurring theme in ElasticSearch is for JSON to be {"variable": {..map of options..}
Fields§
§field: F§inner: I§outer: OImplementations§
Source§impl<F, I, O> FieldBased<F, I, O>
impl<F, I, O> FieldBased<F, I, O>
Trait Implementations§
Source§impl<F, I, O> Serialize for FieldBased<F, I, O>
impl<F, I, O> Serialize for FieldBased<F, I, O>
Auto Trait Implementations§
impl<F, I, O> Freeze for FieldBased<F, I, O>
impl<F, I, O> RefUnwindSafe for FieldBased<F, I, O>
impl<F, I, O> Send for FieldBased<F, I, O>
impl<F, I, O> Sync for FieldBased<F, I, O>
impl<F, I, O> Unpin for FieldBased<F, I, O>
impl<F, I, O> UnsafeUnpin for FieldBased<F, I, O>
impl<F, I, O> UnwindSafe for FieldBased<F, I, O>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more