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