pub struct ServerConfig {Show 19 fields
pub host: String,
pub port: String,
pub no_check_certificate: bool,
pub datastore: String,
pub sqlite_filename: Option<String>,
pub http_log: bool,
pub tls_enabled: bool,
pub tls_cert_filename: Option<String>,
pub tls_key_filename: Option<String>,
pub elastic_url: String,
pub elastic_index: String,
pub elastic_no_index_suffix: bool,
pub elastic_username: Option<String>,
pub elastic_password: Option<String>,
pub elastic_ecs: bool,
pub data_directory: Option<String>,
pub authentication_required: bool,
pub authentication_type: AuthenticationType,
pub database_retention_period: Option<u64>,
}Fields§
§host: String§port: String§no_check_certificate: bool§datastore: String§sqlite_filename: Option<String>§http_log: bool§tls_enabled: bool§tls_cert_filename: Option<String>§tls_key_filename: Option<String>§elastic_url: String§elastic_index: String§elastic_no_index_suffix: bool§elastic_username: Option<String>§elastic_password: Option<String>§elastic_ecs: bool§data_directory: Option<String>§authentication_required: bool§authentication_type: AuthenticationType§database_retention_period: Option<u64>Trait Implementations§
Source§impl Clone for ServerConfig
impl Clone for ServerConfig
Source§fn clone(&self) -> ServerConfig
fn clone(&self) -> ServerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerConfig
impl Debug for ServerConfig
Source§impl Default for ServerConfig
impl Default for ServerConfig
Source§fn default() -> ServerConfig
fn default() -> ServerConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerConfig
impl RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnwindSafe for ServerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more