pub struct MemoryRetrievalError {
pub code: MemoryRetrievalErrorCode,
pub message: String,
pub index: Option<usize>,
pub fragment_id: Option<FactId>,
pub validation_errors: Vec<String>,
pub cursor: MemoryRetrievalCursor,
}Expand description
MemoryRetrievalError data container.
Fields§
§code: MemoryRetrievalErrorCodecode field for code.
message: Stringmessage field for message.
index: Option<usize>index field for index.
fragment_id: Option<FactId>fragment_id field for fragment id.
validation_errors: Vec<String>validation_errors field for validation errors.
cursor: MemoryRetrievalCursorcursor field for cursor.
Trait Implementations§
Source§impl Clone for MemoryRetrievalError
impl Clone for MemoryRetrievalError
Source§fn clone(&self) -> MemoryRetrievalError
fn clone(&self) -> MemoryRetrievalError
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 MemoryRetrievalError
impl Debug for MemoryRetrievalError
Source§impl PartialEq for MemoryRetrievalError
impl PartialEq for MemoryRetrievalError
impl Eq for MemoryRetrievalError
impl StructuralPartialEq for MemoryRetrievalError
Auto Trait Implementations§
impl Freeze for MemoryRetrievalError
impl RefUnwindSafe for MemoryRetrievalError
impl Send for MemoryRetrievalError
impl Sync for MemoryRetrievalError
impl Unpin for MemoryRetrievalError
impl UnsafeUnpin for MemoryRetrievalError
impl UnwindSafe for MemoryRetrievalError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.