[][src]Enum persy::ValueMode

pub enum ValueMode {
    EXCLUSIVE,
    CLUSTER,
    REPLACE,
}

Define the behavior of the index in case a key value pair already exists

Variants

EXCLUSIVE

An error will return if a key value pair already exists

CLUSTER

The value will be add to a list of values for the key, duplicate value will be collapsed to only one entry

REPLACE

The existing value will be replaced with the new value if a key value pair already exists

Trait Implementations

impl Clone for ValueMode[src]

impl Debug for ValueMode[src]

impl Eq for ValueMode[src]

impl From<u8> for ValueMode[src]

impl PartialEq<ValueMode> for ValueMode[src]

impl StructuralEq for ValueMode[src]

impl StructuralPartialEq for ValueMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,