Struct torrust_tracker_configuration::HttpApi
source · pub struct HttpApi {
pub enabled: bool,
pub bind_address: String,
pub ssl_enabled: bool,
pub ssl_cert_path: Option<String>,
pub ssl_key_path: Option<String>,
pub access_tokens: HashMap<String, String>,
}Fields§
§enabled: bool§bind_address: String§ssl_enabled: bool§ssl_cert_path: Option<String>§ssl_key_path: Option<String>§access_tokens: HashMap<String, String>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for HttpApi
impl<'de> Deserialize<'de> for HttpApi
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more