Skip to content
Clone
02d8172
15 lines 329 B Rust
#[derive(Debug, Clone)]
pub struct GitCredential {
pub username: String,
pub secret: String,
}
impl GitCredential {
#[must_use]
pub fn new(username: impl Into<String>, secret: impl Into<String>) -> Self {
Self {
username: username.into(),
secret: secret.into(),
}
}
}