Struct tantivy::schema::TextOptions
[−]
[src]
pub struct TextOptions { /* fields omitted */ }
Define how a text field should be handled by tantivy.
Methods
impl TextOptions
[src]
pub fn get_indexing_options(&self) -> Option<&TextFieldIndexing>
[src]
Returns the indexing options.
pub fn is_stored(&self) -> bool
[src]
Returns true iff the text is to be stored.
pub fn set_stored(self) -> TextOptions
[src]
Sets the field as stored
pub fn set_indexing_options(self, indexing: TextFieldIndexing) -> TextOptions
[src]
Sets the field as indexed, with the specific indexing options.
Trait Implementations
impl Clone for TextOptions
[src]
fn clone(&self) -> TextOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TextOptions
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for TextOptions
[src]
fn eq(&self, __arg_0: &TextOptions) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TextOptions) -> bool
[src]
This method tests for !=
.
impl Eq for TextOptions
[src]
impl Default for TextOptions
[src]
fn default() -> TextOptions
[src]
Returns the "default value" for a type. Read more
impl BitOr for TextOptions
[src]
type Output = TextOptions
The resulting type after applying the |
operator.
fn bitor(self, other: TextOptions) -> TextOptions
[src]
Performs the |
operation.