pub struct InMemoryRetriever { /* private fields */ }Expand description
A simple retriever that stores documents in memory and returns all of them for any query.
Implementations§
Trait Implementations§
Source§impl Clone for InMemoryRetriever
impl Clone for InMemoryRetriever
Source§fn clone(&self) -> InMemoryRetriever
fn clone(&self) -> InMemoryRetriever
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 moreSource§impl Debug for InMemoryRetriever
impl Debug for InMemoryRetriever
Source§impl Retriever for InMemoryRetriever
impl Retriever for InMemoryRetriever
Auto Trait Implementations§
impl Freeze for InMemoryRetriever
impl RefUnwindSafe for InMemoryRetriever
impl Send for InMemoryRetriever
impl Sync for InMemoryRetriever
impl Unpin for InMemoryRetriever
impl UnsafeUnpin for InMemoryRetriever
impl UnwindSafe for InMemoryRetriever
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