Struct elasticsearch_dsl::search::queries::specialized::WrapperQuery
source · [−]pub struct WrapperQuery { /* private fields */ }Expand description
A query that accepts any other query as base64 encoded string.
This query is more useful in the context of the Java high-level REST client or transport client to also accept queries as json formatted string. In these cases queries can be specified as a json or yaml formatted string or as a query builder (which is a available in the Java high-level REST client).
To create wrapper query:
Query::wrapper("eyJ0ZXJtIiA6IHsgInVzZXIuaWQiIDogImtpbWNoeSIgfX0=");https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wrapper-query.html
Trait Implementations
sourceimpl Clone for WrapperQuery
impl Clone for WrapperQuery
sourcefn clone(&self) -> WrapperQuery
fn clone(&self) -> WrapperQuery
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for WrapperQuery
impl Debug for WrapperQuery
sourceimpl From<WrapperQuery> for Option<Query>
impl From<WrapperQuery> for Option<Query>
sourcefn from(q: WrapperQuery) -> Self
fn from(q: WrapperQuery) -> Self
Converts to this type from the input type.
sourceimpl From<WrapperQuery> for Query
impl From<WrapperQuery> for Query
sourcefn from(q: WrapperQuery) -> Self
fn from(q: WrapperQuery) -> Self
Converts to this type from the input type.
sourceimpl IntoIterator for WrapperQuery
impl IntoIterator for WrapperQuery
type Item = WrapperQuery
type Item = WrapperQuery
The type of the elements being iterated over.
type IntoIter = IntoIter<<WrapperQuery as IntoIterator>::Item>
type IntoIter = IntoIter<<WrapperQuery as IntoIterator>::Item>
Which kind of iterator are we turning this into?
sourceimpl PartialEq<WrapperQuery> for Query
impl PartialEq<WrapperQuery> for Query
sourcefn eq(&self, other: &WrapperQuery) -> bool
fn eq(&self, other: &WrapperQuery) -> bool
sourceimpl PartialEq<WrapperQuery> for WrapperQuery
impl PartialEq<WrapperQuery> for WrapperQuery
sourcefn eq(&self, other: &WrapperQuery) -> bool
fn eq(&self, other: &WrapperQuery) -> bool
sourceimpl Serialize for WrapperQuery
impl Serialize for WrapperQuery
impl Eq for WrapperQuery
impl StructuralEq for WrapperQuery
impl StructuralPartialEq for WrapperQuery
Auto Trait Implementations
impl RefUnwindSafe for WrapperQuery
impl Send for WrapperQuery
impl Sync for WrapperQuery
impl Unpin for WrapperQuery
impl UnwindSafe for WrapperQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more