mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-17 14:39:45 +02:00
working storing relationships
This commit is contained in:
@@ -51,6 +51,7 @@ impl From<String> for KnowledgeEntityType {
|
||||
/// Represents a relationship between two knowledge entities.
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct KnowledgeRelationship {
|
||||
#[serde(deserialize_with = "thing_to_string")]
|
||||
pub id: String,
|
||||
#[serde(rename = "in")]
|
||||
pub in_: String, // Target KnowledgeEntity ID
|
||||
|
||||
Reference in New Issue
Block a user