pub struct KnowledgeGraph {
pub title: Option<String>,
pub description: Option<String>,
pub entity_type: Option<String>,
pub website: Option<String>,
pub attributes: HashMap<String, Value>,
}
Expand description
Knowledge graph information
Fields§
§title: Option<String>
Title of the entity
description: Option<String>
Description of the entity
entity_type: Option<String>
Entity type (person, organization, etc.)
website: Option<String>
Website URL (optional)
attributes: HashMap<String, Value>
Additional attributes
Trait Implementations§
Source§impl Debug for KnowledgeGraph
impl Debug for KnowledgeGraph
Source§impl<'de> Deserialize<'de> for KnowledgeGraph
impl<'de> Deserialize<'de> for KnowledgeGraph
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
Source§impl PartialEq for KnowledgeGraph
impl PartialEq for KnowledgeGraph
impl StructuralPartialEq for KnowledgeGraph
Auto Trait Implementations§
impl Freeze for KnowledgeGraph
impl RefUnwindSafe for KnowledgeGraph
impl Send for KnowledgeGraph
impl Sync for KnowledgeGraph
impl Unpin for KnowledgeGraph
impl UnwindSafe for KnowledgeGraph
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