Struct gapi_grpc::google::datastore::admin::v1::Index[][src]

pub struct Index {
    pub project_id: String,
    pub index_id: String,
    pub kind: String,
    pub ancestor: i32,
    pub properties: Vec<IndexedProperty>,
    pub state: i32,
}

Datastore composite index definition.

Fields

project_id: String

Output only. Project ID.

index_id: String

Output only. The resource ID of the index.

kind: String

Required. The entity kind to which this index applies.

ancestor: i32

Required. The index’s ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.

properties: Vec<IndexedProperty>

Required. An ordered sequence of property names and their index attributes.

state: i32

Output only. The state of the index.

Implementations

impl Index[src]

pub fn ancestor(&self) -> AncestorMode[src]

Returns the enum value of ancestor, or the default if the field is set to an invalid enum value.

pub fn set_ancestor(&mut self, value: AncestorMode)[src]

Sets ancestor to the provided enum value.

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Index[src]

impl Debug for Index[src]

impl Default for Index[src]

impl Message for Index[src]

impl PartialEq<Index> for Index[src]

impl StructuralPartialEq for Index[src]

Auto Trait Implementations

impl RefUnwindSafe for Index

impl Send for Index

impl Sync for Index

impl Unpin for Index

impl UnwindSafe for Index

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> Instrument 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>, 
[src]

impl<T> WithSubscriber for T[src]