9 lines
259 B
Rust
9 lines
259 B
Rust
|
/// The user within the forge to connect as
|
||
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
||
|
pub struct User(pub String);
|
||
|
impl std::fmt::Display for User {
|
||
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||
|
write!(f, "{}", self.0)
|
||
|
}
|
||
|
}
|