1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-03-28 07:08:38 +01:00
2022-07-31 15:30:50 +01:00

12 lines
246 B
Rust

use std::path::PathBuf;
use serde::Deserialize;
#[derive(Debug, Clone, PartialEq, Eq, Hash, Deserialize)]
#[serde(rename_all = "kebab-case")]
pub struct Tls {
pub enabled: bool,
pub certificate: PathBuf,
pub private_key: PathBuf,
}