pub struct FullTextIndexBuilder { /* private fields */ }Expand description
Builder for full-text indexes.
Implementations§
Source§impl FullTextIndexBuilder
impl FullTextIndexBuilder
Sourcepub fn columns(
self,
columns: impl IntoIterator<Item = impl Into<String>>,
) -> Self
pub fn columns( self, columns: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Add multiple columns.
Sourcepub fn language(self, language: SearchLanguage) -> Self
pub fn language(self, language: SearchLanguage) -> Self
Set the language.
Sourcepub fn build(self) -> QueryResult<FullTextIndex>
pub fn build(self) -> QueryResult<FullTextIndex>
Build the index definition.
Trait Implementations§
Source§impl Clone for FullTextIndexBuilder
impl Clone for FullTextIndexBuilder
Source§fn clone(&self) -> FullTextIndexBuilder
fn clone(&self) -> FullTextIndexBuilder
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 FullTextIndexBuilder
impl RefUnwindSafe for FullTextIndexBuilder
impl Send for FullTextIndexBuilder
impl Sync for FullTextIndexBuilder
impl Unpin for FullTextIndexBuilder
impl UnwindSafe for FullTextIndexBuilder
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