pub struct Nested {
pub score_mode: Option<String>,
pub ignore_unmapped: Option<bool>,
pub boost: Option<f64>,
pub path: Option<String>,
pub query: Option<Query>,
}Expand description
Nested The nested filter.
Fields§
§score_mode: Option<String>The score mode.
ignore_unmapped: Option<bool>Whether to ignore unmapped fields.
boost: Option<f64>Adjust the relevance score of a match.
path: Option<String>The path to a field or an array of paths. Some APIs support wildcards in the path, which allows you to select multiple fields.
query: Option<Query>The query.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nested
impl<'de> Deserialize<'de> for Nested
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Nested
Auto Trait Implementations§
impl Freeze for Nested
impl RefUnwindSafe for Nested
impl Send for Nested
impl Sync for Nested
impl Unpin for Nested
impl UnsafeUnpin for Nested
impl UnwindSafe for Nested
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