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 super::evidence_fragment::EvidenceFragment;

#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct EvidenceInterpretationInput {
    pub fragments: Vec<EvidenceFragment>,
}

impl EvidenceInterpretationInput {
    pub fn new(fragments: Vec<EvidenceFragment>) -> Self {
        Self { fragments }
    }
}