Struct google_api_proto::google::firestore::admin::v1beta2::field::IndexConfig
source · pub struct IndexConfig {
pub indexes: Vec<Index>,
pub uses_ancestor_config: bool,
pub ancestor_field: String,
pub reverting: bool,
}
Expand description
The index configuration for this field.
Fields§
§indexes: Vec<Index>
The indexes supported for this field.
uses_ancestor_config: bool
Output only. When true, the Field
’s index configuration is set from the
configuration specified by the ancestor_field
.
When false, the Field
’s index configuration is defined explicitly.
ancestor_field: String
Output only. Specifies the resource name of the Field
from which this field’s
index configuration is set (when uses_ancestor_config
is true),
or from which it would be set if this field had no index configuration
(when uses_ancestor_config
is false).
reverting: bool
Output only
When true, the Field
’s index configuration is in the process of being
reverted. Once complete, the index config will transition to the same
state as the field specified by ancestor_field
, at which point
uses_ancestor_config
will be true
and reverting
will be false
.
Trait Implementations§
source§impl Clone for IndexConfig
impl Clone for IndexConfig
source§fn clone(&self) -> IndexConfig
fn clone(&self) -> IndexConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IndexConfig
impl Debug for IndexConfig
source§impl Default for IndexConfig
impl Default for IndexConfig
source§impl Message for IndexConfig
impl Message for IndexConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for IndexConfig
impl PartialEq for IndexConfig
source§fn eq(&self, other: &IndexConfig) -> bool
fn eq(&self, other: &IndexConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IndexConfig
Auto Trait Implementations§
impl Freeze for IndexConfig
impl RefUnwindSafe for IndexConfig
impl Send for IndexConfig
impl Sync for IndexConfig
impl Unpin for IndexConfig
impl UnwindSafe for IndexConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request