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