pub struct KnowledgeGraphError {
pub code: KnowledgeGraphErrorCode,
pub message: String,
pub index: Option<usize>,
pub assertion_id: Option<FactId>,
pub validation_errors: Vec<String>,
pub cursor: KnowledgeGraphCursor,
}Expand description
KnowledgeGraphError data container.
Fields§
§code: KnowledgeGraphErrorCodecode field for code.
message: Stringmessage field for message.
index: Option<usize>index field for index.
assertion_id: Option<FactId>assertion_id field for assertion id.
validation_errors: Vec<String>validation_errors field for validation errors.
cursor: KnowledgeGraphCursorcursor field for cursor.
Trait Implementations§
Source§impl Clone for KnowledgeGraphError
impl Clone for KnowledgeGraphError
Source§fn clone(&self) -> KnowledgeGraphError
fn clone(&self) -> KnowledgeGraphError
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 KnowledgeGraphError
impl Debug for KnowledgeGraphError
Source§impl PartialEq for KnowledgeGraphError
impl PartialEq for KnowledgeGraphError
impl Eq for KnowledgeGraphError
impl StructuralPartialEq for KnowledgeGraphError
Auto Trait Implementations§
impl Freeze for KnowledgeGraphError
impl RefUnwindSafe for KnowledgeGraphError
impl Send for KnowledgeGraphError
impl Sync for KnowledgeGraphError
impl Unpin for KnowledgeGraphError
impl UnsafeUnpin for KnowledgeGraphError
impl UnwindSafe for KnowledgeGraphError
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.