Repository: meilisearch/meilisearch
File: meilisearch-http/src/analytics/segment_analytics.rs (Rust)

Code before:
            ignore_snapshot_if_db_exists,
            snapshot_dir,
            schedule_snapshot,
            snapshot_interval_sec,
            import_dump,
            ignore_missing_dump,
            ignore_dump_if_db_exists,
            dumps_dir,
            log_level,
            indexer_options,
            scheduler_options,
            config_file_path,
            #[cfg(all(not(debug_assertions), feature = "analytics"))]
                no_analytics: _,
        } = options;

        let SchedulerConfig { disable_auto_batching } = scheduler_options;
        let IndexerOpts {
            log_every_n: _,
            max_nb_chunks: _,
            max_indexing_memory,
            max_indexing_threads,
        } = indexer_options;

        // We're going to override every sensible information.
        // We consider an information as sensible if it contains a path, an address or a key.
        Self {
            env,
            db_path: db_path != PathBuf::from("./data.ms"),
            import_dump: import_dump.is_some(),
            dumps_dir: dumps_dir != PathBuf::from("dumps/"),
            ignore_missing_dump,
            ignore_dump_if_db_exists,
            import_snapshot: import_snapshot.is_some(),
            schedule_snapshot,
            snapshot_dir: snapshot_dir != PathBuf::from("snapshots/"),
            snapshot_interval_sec,
            ignore_missing_snapshot,
            ignore_snapshot_if_db_exists,
            http_addr: http_addr != default_http_addr(),
            max_index_size,
            max_task_db_size,
            http_payload_size_limit,
            disable_auto_batching,
            log_level,
            max_indexing_memory,
            max_indexing_threads,
            with_configuration_file: config_file_path.is_some(),
            ssl_auth_path: ssl_auth_path.is_some(),
            ssl_cert_path: ssl_cert_path.is_some(),
            ssl_key_path: ssl_key_path.is_some(),

Review comment (suggestion):
```suggestion
        // We consider information sensible if it contains a path, an address, or a key.
```

Code after:
            ssl_require_auth,
            ssl_resumption,
            ssl_tickets,
            import_snapshot,
            ignore_missing_snapshot,
            ignore_snapshot_if_db_exists,
            snapshot_dir,
            schedule_snapshot,
            snapshot_interval_sec,
            import_dump,
            ignore_missing_dump,
            ignore_dump_if_db_exists,
            dumps_dir,
            log_level,
            indexer_options,
            scheduler_options,
            config_file_path,
            #[cfg(all(not(debug_assertions), feature = "analytics"))]
                no_analytics: _,
        } = options;

        let SchedulerConfig { disable_auto_batching } = scheduler_options;
        let IndexerOpts {
            log_every_n: _,
            max_nb_chunks: _,
            max_indexing_memory,
            max_indexing_threads,
        } = indexer_options;

        // We're going to override every sensible information.
        // We consider information sensible if it contains a path, an address, or a key.
        Self {
            env,
            db_path: db_path != PathBuf::from("./data.ms"),
            import_dump: import_dump.is_some(),
            dumps_dir: dumps_dir != PathBuf::from("dumps/"),
            ignore_missing_dump,
            ignore_dump_if_db_exists,
            import_snapshot: import_snapshot.is_some(),
            schedule_snapshot,
            snapshot_dir: snapshot_dir != PathBuf::from("snapshots/"),
            snapshot_interval_sec,
            ignore_missing_snapshot,
            ignore_snapshot_if_db_exists,
            http_addr: http_addr != default_http_addr(),
            max_index_size,
            max_task_db_size,
            http_payload_size_limit,
            disable_auto_batching,
            log_level,
            max_indexing_memory,