schematics/src/artifacts/mod.rs
2020-03-04 00:31:47 +01:00

18 lines
370 B
Rust

use std::path::{Path as ActualPath, PathBuf};
#[derive(Clone, Debug)]
pub struct Path(pub PathBuf);
impl AsRef<ActualPath> for Path {
fn as_ref(&self) -> &ActualPath {
&self.0
}
}
#[derive(Clone, Debug)]
pub struct UserName(pub String);
#[derive(Clone, Debug)]
pub struct ServiceName(pub String);
#[derive(Clone, Debug)]
pub struct DatabaseName(pub String);