Skip to main content

interstice_abi/
reducer_context.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, Deserialize, Serialize)]
4pub struct ReducerContext {
5    pub current: CurrentModuleContext,
6}
7
8impl ReducerContext {
9    pub fn new() -> Self {
10        Self {
11            current: CurrentModuleContext {},
12        }
13    }
14}
15
16#[derive(Debug, Clone, Deserialize, Serialize)]
17pub struct CurrentModuleContext {}