use serde_json::Value;
#[derive(Debug, Clone)]
pub struct Context {
pub data: Value,
pub body: Value,
pub user: Value,
pub temp: Value,
}
impl Context {
pub fn new(data: Value, body: Value, user: Value) -> Self {
Self {
data,
body,
user,
temp: Value::Object(Default::default()), }
}
}