systemprompt_models/api/modules.rs
1//! Module descriptors exposed by the modules API.
2//!
3//! Copyright (c) systemprompt.io — Business Source License 1.1.
4//! See <https://systemprompt.io> for licensing details.
5
6use serde::{Deserialize, Serialize};
7
8#[derive(Debug, Clone, Serialize, Deserialize)]
9pub struct ModuleInfo {
10 pub name: String,
11 pub version: String,
12 pub description: Option<String>,
13 pub api_prefix: String,
14 pub docs_url: String,
15}