1 2 3 4 5 6 7 8 9 10
use serde::{Serialize, Deserialize}; use ts_rs::TS; #[derive(Debug, Serialize, Deserialize, Clone, TS)] pub struct Coint { pub is_coint: bool, pub test_statistic: f64, pub critical_values: (f64, f64, f64), pub p_value: f64 }