Struct elasticsearch_dsl::search::queries::span::SpanContainingQuery
source · pub struct SpanContainingQuery { /* private fields */ }
Expand description
Returns matches which enclose another span query. The span containing query maps to Lucene
SpanContainingQuery
.
The big
and little
clauses can be any span type query. Matching spans from big
that
contain matches from little
are returned.
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-containing-query.html
Implementations§
source§impl SpanContainingQuery
impl SpanContainingQuery
pub fn serialize<__S>(
__self: &SpanContainingQuery,
__serializer: __S
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Trait Implementations§
source§impl Clone for SpanContainingQuery
impl Clone for SpanContainingQuery
source§fn clone(&self) -> SpanContainingQuery
fn clone(&self) -> SpanContainingQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SpanContainingQuery
impl Debug for SpanContainingQuery
source§impl From<SpanContainingQuery> for Option<Query>
impl From<SpanContainingQuery> for Option<Query>
source§fn from(q: SpanContainingQuery) -> Self
fn from(q: SpanContainingQuery) -> Self
Converts to this type from the input type.
source§impl From<SpanContainingQuery> for Option<SpanQuery>
impl From<SpanContainingQuery> for Option<SpanQuery>
source§fn from(q: SpanContainingQuery) -> Self
fn from(q: SpanContainingQuery) -> Self
Converts to this type from the input type.
source§impl From<SpanContainingQuery> for Query
impl From<SpanContainingQuery> for Query
source§fn from(q: SpanContainingQuery) -> Self
fn from(q: SpanContainingQuery) -> Self
Converts to this type from the input type.
source§impl From<SpanContainingQuery> for SpanQuery
impl From<SpanContainingQuery> for SpanQuery
source§fn from(q: SpanContainingQuery) -> Self
fn from(q: SpanContainingQuery) -> Self
Converts to this type from the input type.
source§impl IntoIterator for SpanContainingQuery
impl IntoIterator for SpanContainingQuery
§type Item = SpanContainingQuery
type Item = SpanContainingQuery
The type of the elements being iterated over.
§type IntoIter = IntoIter<<SpanContainingQuery as IntoIterator>::Item>
type IntoIter = IntoIter<<SpanContainingQuery as IntoIterator>::Item>
Which kind of iterator are we turning this into?
source§impl PartialEq<Query> for SpanContainingQuery
impl PartialEq<Query> for SpanContainingQuery
source§impl PartialEq<SpanContainingQuery> for Query
impl PartialEq<SpanContainingQuery> for Query
source§fn eq(&self, other: &SpanContainingQuery) -> bool
fn eq(&self, other: &SpanContainingQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<SpanContainingQuery> for SpanQuery
impl PartialEq<SpanContainingQuery> for SpanQuery
source§fn eq(&self, other: &SpanContainingQuery) -> bool
fn eq(&self, other: &SpanContainingQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<SpanQuery> for SpanContainingQuery
impl PartialEq<SpanQuery> for SpanContainingQuery
source§impl PartialEq for SpanContainingQuery
impl PartialEq for SpanContainingQuery
source§fn eq(&self, other: &SpanContainingQuery) -> bool
fn eq(&self, other: &SpanContainingQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SpanContainingQuery
impl Serialize for SpanContainingQuery
impl StructuralPartialEq for SpanContainingQuery
Auto Trait Implementations§
impl RefUnwindSafe for SpanContainingQuery
impl Send for SpanContainingQuery
impl Sync for SpanContainingQuery
impl Unpin for SpanContainingQuery
impl UnwindSafe for SpanContainingQuery
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