Enum tantivy::schema::Cardinality
[−]
[src]
pub enum Cardinality { SingleValue, MultiValues, }
Express whether a field is single-value or multi-valued.
Variants
SingleValue
The document must have exactly one value associated to the document.
MultiValues
The document can have any number of values associated to the document. This is more memory and CPU expensive than the SingleValue solution.
Trait Implementations
impl Clone for Cardinality
[src]
fn clone(&self) -> Cardinality
[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 Copy for Cardinality
[src]
impl PartialEq for Cardinality
[src]
fn eq(&self, __arg_0: &Cardinality) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.