pub enum Rule {
Show 57 variants
EOI,
file,
index_def,
default_fields_def,
query_router_def,
query_router_prop,
query_router_pattern,
query_router_substitution,
query_router_target,
query_router_mode,
routing_mode,
regex_string,
raw_string,
raw_string_inner,
quoted_string,
string_inner,
field_def,
field_type,
sparse_vector_config,
index_size_spec,
quantization_spec,
weight_threshold_spec,
dense_vector_config,
dense_vector_params,
dense_vector_keyword_params,
dims_kwarg,
dense_vector_positional_params,
dimension_spec,
tokenizer_spec,
attributes,
attribute,
indexed_with_config,
index_config_params,
index_config_param,
mrl_dim_kwarg,
mrl_dim_spec,
index_type_kwarg,
index_type_spec,
centroids_kwarg,
codebook_kwarg,
nprobe_kwarg,
quantization_kwarg,
weight_threshold_kwarg,
centroids_path,
codebook_path,
path_chars,
nprobe_spec,
query_config_block,
query_config_params,
query_config_param,
query_tokenizer_kwarg,
query_weighting_kwarg,
tokenizer_path,
weighting_spec,
identifier,
WHITESPACE,
COMMENT,
}Variants§
EOI
End-of-input
file
index_def
default_fields_def
query_router_def
query_router_prop
query_router_pattern
query_router_substitution
query_router_target
query_router_mode
routing_mode
regex_string
raw_string
raw_string_inner
quoted_string
string_inner
field_def
field_type
sparse_vector_config
index_size_spec
quantization_spec
weight_threshold_spec
dense_vector_config
dense_vector_params
dense_vector_keyword_params
dims_kwarg
dense_vector_positional_params
dimension_spec
tokenizer_spec
attributes
attribute
indexed_with_config
index_config_params
index_config_param
mrl_dim_kwarg
mrl_dim_spec
index_type_kwarg
index_type_spec
centroids_kwarg
codebook_kwarg
nprobe_kwarg
quantization_kwarg
weight_threshold_kwarg
centroids_path
codebook_path
path_chars
nprobe_spec
query_config_block
query_config_params
query_config_param
query_tokenizer_kwarg
query_weighting_kwarg
tokenizer_path
weighting_spec
identifier
WHITESPACE
COMMENT
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.