pub struct FieldFlags(/* private fields */);Expand description
Bitfield describing how a field is stored/indexed in the index.
Implementations§
Source§impl FieldFlags
impl FieldFlags
Sourcepub const STORED: u8 = 0x04
pub const STORED: u8 = 0x04
Bit set when the field value is stored verbatim alongside the index.
Sourcepub fn is_indexed(self) -> bool
pub fn is_indexed(self) -> bool
true when Self::INDEXED is set.
Sourcepub fn is_tokenized(self) -> bool
pub fn is_tokenized(self) -> bool
true when Self::TOKENIZED is set.
Sourcepub fn is_stored(self) -> bool
pub fn is_stored(self) -> bool
true when Self::STORED is set.
Trait Implementations§
Source§impl Clone for FieldFlags
impl Clone for FieldFlags
Source§fn clone(&self) -> FieldFlags
fn clone(&self) -> FieldFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldFlags
impl Debug for FieldFlags
Source§impl PartialEq for FieldFlags
impl PartialEq for FieldFlags
impl Copy for FieldFlags
impl Eq for FieldFlags
impl StructuralPartialEq for FieldFlags
Auto Trait Implementations§
impl Freeze for FieldFlags
impl RefUnwindSafe for FieldFlags
impl Send for FieldFlags
impl Sync for FieldFlags
impl Unpin for FieldFlags
impl UnsafeUnpin for FieldFlags
impl UnwindSafe for FieldFlags
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