~starkingdoms/starkingdoms

ref: 6a1f74ff127321ccb2037db82313bdfdb37a2a9f starkingdoms/starkingdoms-api/src/config.rs -rw-r--r-- 219 bytes
6a1f74ff — core fix clippy on api server 2 years ago
                                                                                
1
2
3
4
5
6
7
8
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
pub struct Config {
    pub application_key: String,
    pub mongodb_url: String,
    pub mongodb_database: String,
}