1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::diff::diff_output::DiffOutput;

#[derive(Clone)]
pub struct SchemaName(String);

impl SchemaName {
    pub fn new(name: impl Into<String>) -> Self {
        Self(name.into())
    }

    pub fn name(&self) -> &str {
        &self.0
    }
}

pub trait DiffOutputMarker {
    fn convert(self) -> DiffOutput;
}