pub struct SpanQuery {
pub span_or: Option<String>,
pub span_within: Option<String>,
pub span_not: Option<String>,
pub span_multi: Option<String>,
pub span_first: Option<String>,
pub field_masking_span: Option<String>,
pub span_gap: Option<SpanGapQuery>,
pub span_containing: Option<String>,
pub span_term: Option<Value>,
pub span_near: Option<String>,
}Fields§
§span_or: Option<String>§span_within: Option<String>§span_not: Option<String>§span_multi: Option<String>§span_first: Option<String>§field_masking_span: Option<String>§span_gap: Option<SpanGapQuery>Can only be used as a clause in a span_near query.
span_containing: Option<String>§span_term: Option<Value>The equivalent of the term query but for use with other span queries.
span_near: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpanQuery
impl<'de> Deserialize<'de> for SpanQuery
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 SpanQuery
Auto Trait Implementations§
impl Freeze for SpanQuery
impl RefUnwindSafe for SpanQuery
impl Send for SpanQuery
impl Sync for SpanQuery
impl Unpin for SpanQuery
impl UnsafeUnpin for SpanQuery
impl UnwindSafe for SpanQuery
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