pub struct QueryRender {
pub query_string: String,
pub params: Vec<QueryParam>,
pub return_fields: Vec<String>,
pub sort_by: Option<SortBy>,
pub limit: Option<QueryLimit>,
pub dialect: u32,
pub in_order: bool,
pub no_content: bool,
pub scorer: Option<String>,
pub geofilter: Option<GeoFilter>,
}Expand description
Fully rendered Redis Search query metadata.
Fields§
§query_string: StringRedis Search query string.
params: Vec<QueryParam>Optional parameter substitutions.
return_fields: Vec<String>Fields to return from the query.
sort_by: Option<SortBy>Optional sort specification.
limit: Option<QueryLimit>Optional limit clause.
dialect: u32Query dialect.
in_order: boolWhether INORDER should be used.
no_content: boolWhether NOCONTENT should be used.
scorer: Option<String>Optional scorer name.
geofilter: Option<GeoFilter>Optional GEOFILTER clause.
Trait Implementations§
Source§impl Clone for QueryRender
impl Clone for QueryRender
Source§fn clone(&self) -> QueryRender
fn clone(&self) -> QueryRender
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for QueryRender
impl RefUnwindSafe for QueryRender
impl Send for QueryRender
impl Sync for QueryRender
impl Unpin for QueryRender
impl UnsafeUnpin for QueryRender
impl UnwindSafe for QueryRender
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.