globetrotter_python/config.rs
1use serde::{Deserialize, Serialize};
2use std::path::PathBuf;
3
4#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
5pub struct OutputConfig {
6 #[cfg_attr(feature = "serde", serde(default))]
7 pub output_paths: Vec<PathBuf>,
8}
9
10impl OutputConfig {
11 #[must_use]
12 pub fn is_empty(&self) -> bool {
13 self.output_paths.is_empty()
14 }
15}