pub struct VectorIndex {
pub index_name: String,
pub vector_attribute: VectorAttributeDefinition,
pub search_schema: Option<Vec<SearchSchemaElement>>,
pub projection: Projection,
pub dimensions: u32,
pub distance_function: String,
}Expand description
Vector index definition as supplied on CreateTable’s VectorIndexes.
Serialised verbatim into the _tables.vector_index_definitions column,
following the gsi_definitions convention.
Fields§
§index_name: String§vector_attribute: VectorAttributeDefinition§search_schema: Option<Vec<SearchSchemaElement>>§projection: Projection§dimensions: u32§distance_function: StringTrait Implementations§
Source§impl Clone for VectorIndex
impl Clone for VectorIndex
Source§impl Debug for VectorIndex
impl Debug for VectorIndex
Source§impl Default for VectorIndex
impl Default for VectorIndex
Source§impl<'de> Deserialize<'de> for VectorIndex
impl<'de> Deserialize<'de> for VectorIndex
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
Source§impl PartialEq for VectorIndex
impl PartialEq for VectorIndex
Source§impl Serialize for VectorIndex
impl Serialize for VectorIndex
impl StructuralPartialEq for VectorIndex
Auto Trait Implementations§
impl Freeze for VectorIndex
impl RefUnwindSafe for VectorIndex
impl Send for VectorIndex
impl Sync for VectorIndex
impl Unpin for VectorIndex
impl UnsafeUnpin for VectorIndex
impl UnwindSafe for VectorIndex
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