Skip to main content

kmp_plugin_api/application/dto/
interpreted_value_mention.rs

1use serde::{Deserialize, Serialize};
2
3use crate::domain::interpreted_value::InterpretedValue;
4use crate::domain::text_span::TextSpan;
5
6#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
7pub struct InterpretedValueMention {
8    pub plugin: String,
9    pub ref_id: String,
10    pub raw: String,
11    pub span: TextSpan,
12    pub value: InterpretedValue,
13    pub confidence: f64,
14}