#[derive(Debug, Clone)] pub struct GitCredential { pub username: String, pub secret: String, } impl GitCredential { #[must_use] pub fn new(username: impl Into, secret: impl Into) -> Self { Self { username: username.into(), secret: secret.into(), } } }