Struct gapi_grpc::google::datastore::admin::v1::Index [−][src]
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,