mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
14 lines
296 B
Rust
14 lines
296 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,
|
|
pub queue_strategy: bb8::QueueStrategy,
|
|
}
|