kmp-plugin-api 0.6.0

Public plugin API for the KMP kernel: evidence value and derivation traits, free of kernel internals
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

use crate::domain::interpreted_value::InterpretedValue;
use crate::domain::text_span::TextSpan;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct InterpretedValueMention {
    pub plugin: String,
    pub ref_id: String,
    pub raw: String,
    pub span: TextSpan,
    pub value: InterpretedValue,
    pub confidence: f64,
}