rust_pgdatadiff/diff/types/
mod.rs

1use crate::diff::diff_output::DiffOutput;
2
3#[derive(Clone)]
4pub struct SchemaName(String);
5
6impl SchemaName {
7    pub fn new(name: impl Into<String>) -> Self {
8        Self(name.into())
9    }
10
11    pub fn name(&self) -> &str {
12        &self.0
13    }
14}
15
16pub trait DiffOutputMarker {
17    fn convert(self) -> DiffOutput;
18}