Files

13 lines
252 B
Rust

use masking::Secret;
#[derive(Debug, Clone)]
pub struct Database {
pub username: String,
pub password: Secret<String>,
pub host: String,
pub port: u16,
pub dbname: String,
pub pool_size: u32,
pub connection_timeout: u64,
}