Skip to main content

rust_config_tree/config_schema/
target.rs

1//! Generated JSON Schema output descriptors.
2
3use std::path::PathBuf;
4
5/// Generated JSON Schema content for one output path.
6#[derive(Debug, Clone, PartialEq, Eq)]
7pub struct ConfigSchemaTarget {
8    /// Path that should receive the generated schema.
9    pub path: PathBuf,
10    /// Complete JSON Schema content to write to `path`.
11    pub content: String,
12}