Enum tantivy::schema::Type [−][src]
pub enum Type { Str, U64, I64, HierarchicalFacet, Bytes, }
Type of the value that a field can take.
Contrary to FieldType, this does not include the way the field must be indexed.
Variants
Str
&str
U64
u64
I64
i64
HierarchicalFacet
tantivy::schema::Facet
. Passed as a string in JSON.
Bytes
Vec<u8>
Trait Implementations
impl Copy for Type
[src]
impl Copy for Type
impl Clone for Type
[src]
impl Clone for Type
fn clone(&self) -> Type
[src]
fn clone(&self) -> Type
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 Type
[src]
impl Debug for Type
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 Eq for Type
[src]
impl Eq for Type
impl PartialEq for Type
[src]
impl PartialEq for Type