pub struct FtCreateOptions {Show 16 fields
pub on: Option<IndexKind>,
pub prefixes: Vec<Str>,
pub filter: Option<Str>,
pub language: Option<Str>,
pub language_field: Option<Str>,
pub score: Option<f64>,
pub score_field: Option<f64>,
pub payload_field: Option<Str>,
pub maxtextfields: bool,
pub temporary: Option<u64>,
pub nooffsets: bool,
pub nohl: bool,
pub nofields: bool,
pub nofreqs: bool,
pub stopwords: Vec<Str>,
pub skipinitialscan: bool,
}Available on crate feature
i-redisearch only.Expand description
Arguments for FT.CREATE.
Fields§
§on: Option<IndexKind>§prefixes: Vec<Str>§filter: Option<Str>§language: Option<Str>§language_field: Option<Str>§score: Option<f64>§score_field: Option<f64>§payload_field: Option<Str>§maxtextfields: bool§temporary: Option<u64>§nooffsets: bool§nohl: bool§nofields: bool§nofreqs: bool§stopwords: Vec<Str>§skipinitialscan: boolTrait Implementations§
Source§impl Clone for FtCreateOptions
impl Clone for FtCreateOptions
Source§fn clone(&self) -> FtCreateOptions
fn clone(&self) -> FtCreateOptions
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 moreSource§impl Debug for FtCreateOptions
impl Debug for FtCreateOptions
Source§impl Default for FtCreateOptions
impl Default for FtCreateOptions
Source§fn default() -> FtCreateOptions
fn default() -> FtCreateOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for FtCreateOptions
impl RefUnwindSafe for FtCreateOptions
impl Send for FtCreateOptions
impl Sync for FtCreateOptions
impl Unpin for FtCreateOptions
impl UnwindSafe for FtCreateOptions
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> 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 more