pub struct KGIndexInfo {
pub name: String,
pub total_terms: usize,
pub total_nodes: usize,
pub total_edges: usize,
pub last_updated: DateTime<Utc>,
pub source: String,
pub version: Option<String>,
}Expand description
Knowledge Graph index information
Fields§
§name: StringName of the knowledge graph
total_terms: usizeTotal number of terms in the index
total_nodes: usizeNumber of nodes in the graph
total_edges: usizeNumber of edges in the graph
last_updated: DateTime<Utc>Last updated timestamp
source: StringSource of the knowledge graph
version: Option<String>Version of the knowledge graph
Trait Implementations§
Source§impl Clone for KGIndexInfo
impl Clone for KGIndexInfo
Source§fn clone(&self) -> KGIndexInfo
fn clone(&self) -> KGIndexInfo
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 KGIndexInfo
impl Debug for KGIndexInfo
Source§impl<'de> Deserialize<'de> for KGIndexInfo
impl<'de> Deserialize<'de> for KGIndexInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KGIndexInfo
impl RefUnwindSafe for KGIndexInfo
impl Send for KGIndexInfo
impl Sync for KGIndexInfo
impl Unpin for KGIndexInfo
impl UnwindSafe for KGIndexInfo
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