[][src]Enum gcp_client::google::datastore::admin::v1::index::AncestorMode

#[repr(i32)]pub enum AncestorMode {
    Unspecified,
    None,
    AllAncestors,
}

For an ordered index, specifies whether each of the entity's ancestors will be included.

Variants

Unspecified

The ancestor mode is unspecified.

None

Do not include the entity's ancestors in the index.

AllAncestors

Include all the entity's ancestors in the index.

Implementations

impl AncestorMode[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of AncestorMode.

pub fn from_i32(value: i32) -> Option<AncestorMode>[src]

Converts an i32 to a AncestorMode, or None if value is not a valid variant.

Trait Implementations

impl Clone for AncestorMode[src]

impl Copy for AncestorMode[src]

impl Debug for AncestorMode[src]

impl Default for AncestorMode[src]

impl Eq for AncestorMode[src]

impl From<AncestorMode> for i32[src]

impl Hash for AncestorMode[src]

impl Ord for AncestorMode[src]

impl PartialEq<AncestorMode> for AncestorMode[src]

impl PartialOrd<AncestorMode> for AncestorMode[src]

impl StructuralEq for AncestorMode[src]

impl StructuralPartialEq for AncestorMode[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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>, 

impl<T> WithSubscriber for T[src]