pub struct KnowledgeGraphSnapshot {
pub assertions: Vec<KnowledgeAssertion>,
pub entities: Vec<KnowledgeGraphEntity>,
pub relations: Vec<KnowledgeGraphRelation>,
pub topics: Vec<KnowledgeGraphTopic>,
pub index: KnowledgeGraphIndex,
pub status: KnowledgeGraphStatus,
pub errors: Vec<KnowledgeGraphError>,
pub cursor: KnowledgeGraphCursor,
}Expand description
KnowledgeGraphSnapshot data container.
Fields§
§assertions: Vec<KnowledgeAssertion>assertions field for assertions.
entities: Vec<KnowledgeGraphEntity>entities field for entities.
relations: Vec<KnowledgeGraphRelation>relations field for relations.
topics: Vec<KnowledgeGraphTopic>topics field for topics.
index: KnowledgeGraphIndexindex field for index.
status: KnowledgeGraphStatusstatus field for status.
errors: Vec<KnowledgeGraphError>errors field for errors.
cursor: KnowledgeGraphCursorcursor field for cursor.
Trait Implementations§
Source§impl Clone for KnowledgeGraphSnapshot
impl Clone for KnowledgeGraphSnapshot
Source§fn clone(&self) -> KnowledgeGraphSnapshot
fn clone(&self) -> KnowledgeGraphSnapshot
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 KnowledgeGraphSnapshot
impl Debug for KnowledgeGraphSnapshot
Source§impl PartialEq for KnowledgeGraphSnapshot
impl PartialEq for KnowledgeGraphSnapshot
impl StructuralPartialEq for KnowledgeGraphSnapshot
Auto Trait Implementations§
impl Freeze for KnowledgeGraphSnapshot
impl RefUnwindSafe for KnowledgeGraphSnapshot
impl Send for KnowledgeGraphSnapshot
impl Sync for KnowledgeGraphSnapshot
impl Unpin for KnowledgeGraphSnapshot
impl UnsafeUnpin for KnowledgeGraphSnapshot
impl UnwindSafe for KnowledgeGraphSnapshot
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