2024-05-11 19:46:20 +01:00
|
|
|
/// The hostname of a forge
|
2024-05-12 22:27:20 +01:00
|
|
|
#[derive(Clone, Debug, PartialEq, Eq, derive_more::Display)]
|
2024-05-14 07:59:31 +01:00
|
|
|
pub struct Hostname(String);
|
|
|
|
impl Hostname {
|
|
|
|
pub fn new(str: impl Into<String>) -> Self {
|
|
|
|
Self(str.into())
|
|
|
|
}
|
|
|
|
}
|