pub enum IndexDirection {
Forward,
Both,
}
Expand description
Attributes can be indexed in two ways, once from eid to value and the other way around. More powerful query capabilities may rely on both directions being available, whereas simple queries, such as star-joins and pull queries, might get by with just a forward index.
Variants§
Trait Implementations§
Source§impl Clone for IndexDirection
impl Clone for IndexDirection
Source§fn clone(&self) -> IndexDirection
fn clone(&self) -> IndexDirection
Returns a copy 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 IndexDirection
impl Debug for IndexDirection
Source§impl<'de> Deserialize<'de> for IndexDirection
impl<'de> Deserialize<'de> for IndexDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for IndexDirection
impl Hash for IndexDirection
Source§impl Ord for IndexDirection
impl Ord for IndexDirection
Source§fn cmp(&self, other: &IndexDirection) -> Ordering
fn cmp(&self, other: &IndexDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IndexDirection
impl PartialEq for IndexDirection
Source§impl PartialOrd for IndexDirection
impl PartialOrd for IndexDirection
Source§impl Serialize for IndexDirection
impl Serialize for IndexDirection
impl Eq for IndexDirection
impl StructuralPartialEq for IndexDirection
Auto Trait Implementations§
impl Freeze for IndexDirection
impl RefUnwindSafe for IndexDirection
impl Send for IndexDirection
impl Sync for IndexDirection
impl Unpin for IndexDirection
impl UnwindSafe for IndexDirection
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