pub struct KnowledgeContextEdge {
pub id: String,
pub kind: ContextEdgeKind,
pub context_tokens: Vec<String>,
pub topic: String,
pub note: String,
pub evidence: EvidenceTier,
pub citation: Option<String>,
pub illustrative: bool,
}Expand description
One curated (or illustrative) context → topic edge.
Fields§
§id: String§kind: ContextEdgeKind§context_tokens: Vec<String>Open tokens that activate this edge (slugs). Not a closed race list.
topic: StringTopic key (g6pd, carbamazepine-hla-b1502, a MONDO / drug slug).
note: String§evidence: EvidenceTier§citation: Option<String>§illustrative: boolShipped example, not a curated guideline pack.
Trait Implementations§
Source§impl Clone for KnowledgeContextEdge
impl Clone for KnowledgeContextEdge
Source§impl Debug for KnowledgeContextEdge
impl Debug for KnowledgeContextEdge
Source§impl<'de> Deserialize<'de> for KnowledgeContextEdge
impl<'de> Deserialize<'de> for KnowledgeContextEdge
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
impl Eq for KnowledgeContextEdge
Source§impl PartialEq for KnowledgeContextEdge
impl PartialEq for KnowledgeContextEdge
Source§impl Serialize for KnowledgeContextEdge
impl Serialize for KnowledgeContextEdge
impl StructuralPartialEq for KnowledgeContextEdge
Auto Trait Implementations§
impl Freeze for KnowledgeContextEdge
impl RefUnwindSafe for KnowledgeContextEdge
impl Send for KnowledgeContextEdge
impl Sync for KnowledgeContextEdge
impl Unpin for KnowledgeContextEdge
impl UnsafeUnpin for KnowledgeContextEdge
impl UnwindSafe for KnowledgeContextEdge
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