pub struct LanceDbConfig {
pub uri: String,
pub table_name: String,
pub dim: usize,
}Expand description
Configuration for a LanceDB vector store.
Fields§
§uri: StringStorage URI — local filesystem path (e.g., /data/mydb) or
cloud object storage URI (e.g., s3://bucket/path).
table_name: StringTable name within the database.
dim: usizeVector dimension — must match the output dimension of the embedding model you intend to use with this store.
Implementations§
Trait Implementations§
Source§impl Clone for LanceDbConfig
impl Clone for LanceDbConfig
Source§fn clone(&self) -> LanceDbConfig
fn clone(&self) -> LanceDbConfig
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 moreAuto Trait Implementations§
impl Freeze for LanceDbConfig
impl RefUnwindSafe for LanceDbConfig
impl Send for LanceDbConfig
impl Sync for LanceDbConfig
impl Unpin for LanceDbConfig
impl UnsafeUnpin for LanceDbConfig
impl UnwindSafe for LanceDbConfig
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