pub struct Config {
pub sqlite_path: String,
pub api_key: Option<String>,
pub retention_days_errors: i64,
pub retention_days_hourly_rollups: i64,
pub retention_days_spans: i64,
pub slow_request_threshold_ms: f64,
pub mini_apm_url: String,
pub enable_user_accounts: bool,
pub enable_projects: bool,
pub session_secret: String,
}Fields§
§sqlite_path: String§api_key: Option<String>§retention_days_errors: i64§retention_days_hourly_rollups: i64§retention_days_spans: i64§slow_request_threshold_ms: f64§mini_apm_url: String§enable_user_accounts: bool§enable_projects: bool§session_secret: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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