From 40aa4abfe54189fcd855e45203adc457bdf19a85 Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Tue, 5 Mar 2024 04:11:11 +0100 Subject: [PATCH] Make FacetCounts defaultable and cloneable. (#2322) --- src/collector/facet_collector.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/collector/facet_collector.rs b/src/collector/facet_collector.rs index ef996fd40..f09252f26 100644 --- a/src/collector/facet_collector.rs +++ b/src/collector/facet_collector.rs @@ -410,6 +410,7 @@ impl SegmentCollector for FacetSegmentCollector { /// Intermediary result of the `FacetCollector` that stores /// the facet counts for all the segments. +#[derive(Default, Clone)] pub struct FacetCounts { facet_counts: BTreeMap, }