pub struct VectorEnv<'a> {
pub backend: &'a str,
pub native_ready: bool,
pub atlas_index: bool,
}Expand description
环境探测结果(宿主填写;core 不探测)
Fields§
§backend: &'a str§native_ready: boolpostgres: pgvector 扩展已安装;sqlite: vec0 已装载(本轮恒 false)
atlas_index: boolmongodb: 该 source 下至少一个 schema 的索引项声明了 options.indexName
Auto Trait Implementations§
impl<'a> Freeze for VectorEnv<'a>
impl<'a> RefUnwindSafe for VectorEnv<'a>
impl<'a> Send for VectorEnv<'a>
impl<'a> Sync for VectorEnv<'a>
impl<'a> Unpin for VectorEnv<'a>
impl<'a> UnsafeUnpin for VectorEnv<'a>
impl<'a> UnwindSafe for VectorEnv<'a>
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