pub struct GoogleFirestoreAdminV1IndexField {
pub array_config: Option<String>,
pub field_path: Option<String>,
pub order: Option<String>,
pub vector_config: Option<GoogleFirestoreAdminV1VectorConfig>,
}Expand description
A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed.
This type is not used in any activity, and only used as part of another schema.
Fields§
§array_config: Option<String>Indicates that this field supports operations on array_values.
field_path: Option<String>Can be name. For single field indexes, this must match the name of the field or may be omitted.
order: Option<String>Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
vector_config: Option<GoogleFirestoreAdminV1VectorConfig>Indicates that this field supports nearest neighbor and distance operations on vector.
Trait Implementations§
Source§impl Clone for GoogleFirestoreAdminV1IndexField
impl Clone for GoogleFirestoreAdminV1IndexField
Source§fn clone(&self) -> GoogleFirestoreAdminV1IndexField
fn clone(&self) -> GoogleFirestoreAdminV1IndexField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleFirestoreAdminV1IndexField
impl Default for GoogleFirestoreAdminV1IndexField
Source§fn default() -> GoogleFirestoreAdminV1IndexField
fn default() -> GoogleFirestoreAdminV1IndexField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1IndexField
impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1IndexField
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleFirestoreAdminV1IndexField
Auto Trait Implementations§
impl Freeze for GoogleFirestoreAdminV1IndexField
impl RefUnwindSafe for GoogleFirestoreAdminV1IndexField
impl Send for GoogleFirestoreAdminV1IndexField
impl Sync for GoogleFirestoreAdminV1IndexField
impl Unpin for GoogleFirestoreAdminV1IndexField
impl UnwindSafe for GoogleFirestoreAdminV1IndexField
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
Mutably borrows from an owned value. Read more