pub struct MemoryRetrievalSnapshot<T> {
pub fragments: Vec<MemoryFragment<T>>,
pub indexed: MemoryRetrievalIndex<T>,
pub ranked: MemoryAnswer<T>,
pub status: MemoryRetrievalStatus,
pub errors: Vec<MemoryRetrievalError>,
pub cursor: MemoryRetrievalCursor,
}Expand description
MemoryRetrievalSnapshot data container.
Fields§
§fragments: Vec<MemoryFragment<T>>fragments field for fragments.
indexed: MemoryRetrievalIndex<T>indexed field for indexed.
ranked: MemoryAnswer<T>ranked field for ranked.
status: MemoryRetrievalStatusstatus field for status.
errors: Vec<MemoryRetrievalError>errors field for errors.
cursor: MemoryRetrievalCursorcursor field for cursor.
Trait Implementations§
Source§impl<T: Clone> Clone for MemoryRetrievalSnapshot<T>
impl<T: Clone> Clone for MemoryRetrievalSnapshot<T>
Source§fn clone(&self) -> MemoryRetrievalSnapshot<T>
fn clone(&self) -> MemoryRetrievalSnapshot<T>
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<T: Debug> Debug for MemoryRetrievalSnapshot<T>
impl<T: Debug> Debug for MemoryRetrievalSnapshot<T>
Source§impl<T: PartialEq> PartialEq for MemoryRetrievalSnapshot<T>
impl<T: PartialEq> PartialEq for MemoryRetrievalSnapshot<T>
impl<T> StructuralPartialEq for MemoryRetrievalSnapshot<T>
Auto Trait Implementations§
impl<T> Freeze for MemoryRetrievalSnapshot<T>
impl<T> RefUnwindSafe for MemoryRetrievalSnapshot<T>where
T: RefUnwindSafe,
impl<T> Send for MemoryRetrievalSnapshot<T>where
T: Send,
impl<T> Sync for MemoryRetrievalSnapshot<T>where
T: Sync,
impl<T> Unpin for MemoryRetrievalSnapshot<T>where
T: Unpin,
impl<T> UnsafeUnpin for MemoryRetrievalSnapshot<T>
impl<T> UnwindSafe for MemoryRetrievalSnapshot<T>where
T: RefUnwindSafe + UnwindSafe,
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