New architecture
This commit is contained in:
parent
e4b3424ba6
commit
907a4962c5
61 changed files with 2742 additions and 3100 deletions
18
src/artifacts/mod.rs
Normal file
18
src/artifacts/mod.rs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue