pub struct GoogleFirestoreAdminV1VectorConfig {
pub dimension: Option<i32>,
pub flat: Option<GoogleFirestoreAdminV1FlatIndex>,
}Expand description
The index configuration to support vector search operations
This type is not used in any activity, and only used as part of another schema.
Fields§
§dimension: Option<i32>Required. The vector dimension this configuration applies to. The resulting index will only include vectors of this dimension, and can be used for vector search with the same dimension.
flat: Option<GoogleFirestoreAdminV1FlatIndex>Indicates the vector index is a flat index.
Trait Implementations§
Source§impl Clone for GoogleFirestoreAdminV1VectorConfig
impl Clone for GoogleFirestoreAdminV1VectorConfig
Source§fn clone(&self) -> GoogleFirestoreAdminV1VectorConfig
fn clone(&self) -> GoogleFirestoreAdminV1VectorConfig
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 GoogleFirestoreAdminV1VectorConfig
impl Default for GoogleFirestoreAdminV1VectorConfig
Source§fn default() -> GoogleFirestoreAdminV1VectorConfig
fn default() -> GoogleFirestoreAdminV1VectorConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1VectorConfig
impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1VectorConfig
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 GoogleFirestoreAdminV1VectorConfig
Auto Trait Implementations§
impl Freeze for GoogleFirestoreAdminV1VectorConfig
impl RefUnwindSafe for GoogleFirestoreAdminV1VectorConfig
impl Send for GoogleFirestoreAdminV1VectorConfig
impl Sync for GoogleFirestoreAdminV1VectorConfig
impl Unpin for GoogleFirestoreAdminV1VectorConfig
impl UnwindSafe for GoogleFirestoreAdminV1VectorConfig
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