pub struct DefineAnalyzer {
pub name: Spanned<String>,
pub tokenizers: Vec<Spanned<String>>,
pub filters: Vec<Spanned<String>>,
}Expand description
DEFINE ANALYZER — a full-text analyzer pipeline.
Fields§
§name: Spanned<String>The analyzer name.
tokenizers: Vec<Spanned<String>>TOKENIZERS ... — the tokenizers in the pipeline.
filters: Vec<Spanned<String>>FILTERS ... — the token filters in the pipeline.
Trait Implementations§
Source§impl Clone for DefineAnalyzer
impl Clone for DefineAnalyzer
Source§fn clone(&self) -> DefineAnalyzer
fn clone(&self) -> DefineAnalyzer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefineAnalyzer
impl Debug for DefineAnalyzer
Source§impl PartialEq for DefineAnalyzer
impl PartialEq for DefineAnalyzer
impl StructuralPartialEq for DefineAnalyzer
Auto Trait Implementations§
impl Freeze for DefineAnalyzer
impl RefUnwindSafe for DefineAnalyzer
impl Send for DefineAnalyzer
impl Sync for DefineAnalyzer
impl Unpin for DefineAnalyzer
impl UnsafeUnpin for DefineAnalyzer
impl UnwindSafe for DefineAnalyzer
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