1
0
Fork 0
mirror of https://mzte.de/git/LordMZTE/brevo synced 2024-05-31 21:28:55 +02:00
brevo/src/config.rs

13 lines
217 B
Rust
Raw Normal View History

2021-06-24 15:57:11 +02:00
use std::net::SocketAddr;
use serde::Deserialize;
use url::Url;
#[derive(Deserialize)]
pub struct Config {
pub database_url: String,
pub bind_addr: SocketAddr,
pub link_len: u8,
pub base_url: Url,
}