pub struct AgenticMemoryError {
pub code: AgenticMemoryErrorCode,
pub message: String,
pub index: Option<usize>,
pub record_id: Option<FactId>,
pub fragment_id: Option<FactId>,
pub validation_errors: Vec<String>,
pub cursor: AgenticMemoryCursor,
}Expand description
AgenticMemoryError data container.
Fields§
§code: AgenticMemoryErrorCodecode field for code.
message: Stringmessage field for message.
index: Option<usize>index field for index.
record_id: Option<FactId>record_id field for record id.
fragment_id: Option<FactId>fragment_id field for fragment id.
validation_errors: Vec<String>validation_errors field for validation errors.
cursor: AgenticMemoryCursorcursor field for cursor.
Trait Implementations§
Source§impl Clone for AgenticMemoryError
impl Clone for AgenticMemoryError
Source§fn clone(&self) -> AgenticMemoryError
fn clone(&self) -> AgenticMemoryError
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 AgenticMemoryError
impl Debug for AgenticMemoryError
Source§impl PartialEq for AgenticMemoryError
impl PartialEq for AgenticMemoryError
impl Eq for AgenticMemoryError
impl StructuralPartialEq for AgenticMemoryError
Auto Trait Implementations§
impl Freeze for AgenticMemoryError
impl RefUnwindSafe for AgenticMemoryError
impl Send for AgenticMemoryError
impl Sync for AgenticMemoryError
impl Unpin for AgenticMemoryError
impl UnsafeUnpin for AgenticMemoryError
impl UnwindSafe for AgenticMemoryError
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.