GitRoot
Craft your forge, Build your project, Grow your community freely
1// SPDX-FileCopyrightText: 2026 Romain Maneschi <romain@gitroot.dev>
2//
3// SPDX-License-Identifier: MIT
4
5use serde::{Deserialize, Serialize};
6use std::collections::HashMap;
7
8#[derive(Debug, Deserialize, Serialize, Clone)]
9#[serde(rename_all = "camelCase")]
10pub struct Call {
11 pub plugin: String,
12 pub name: String,
13 pub args: HashMap<String, String>,
14}
15
16#[derive(Debug, Deserialize, Serialize, Clone)]
17#[serde(rename_all = "camelCase")]
18pub struct CallRes {
19 pub res: HashMap<String, String>,
20 pub err: String,
21}
22