Struct langchain_rust::vectorstore::Retriver
source · pub struct Retriver { /* private fields */ }
Implementations§
source§impl Retriver
impl Retriver
pub fn new<V: VectorStore + 'static>(vstore: V, num_docs: usize) -> Self
pub fn with_options(self, options: VecStoreOptions) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Retriver
impl !RefUnwindSafe for Retriver
impl Send for Retriver
impl Sync for Retriver
impl Unpin for Retriver
impl !UnwindSafe for Retriver
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