A library for writing host-specific, single-binary configuration management and deployment tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
370 B

  1. use std::path::{Path as ActualPath, PathBuf};
  2. #[derive(Clone, Debug)]
  3. pub struct Path(pub PathBuf);
  4. impl AsRef<ActualPath> for Path {
  5. fn as_ref(&self) -> &ActualPath {
  6. &self.0
  7. }
  8. }
  9. #[derive(Clone, Debug)]
  10. pub struct UserName(pub String);
  11. #[derive(Clone, Debug)]
  12. pub struct ServiceName(pub String);
  13. #[derive(Clone, Debug)]
  14. pub struct DatabaseName(pub String);