From 0368162ef0a9a0b149553359b19077ba4df543e2 Mon Sep 17 00:00:00 2001 From: trinity Pointard Date: Tue, 18 Feb 2025 11:45:24 +0100 Subject: [PATCH] make DateHistogramAggregationReq buildable --- src/aggregation/bucket/histogram/date_histogram.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aggregation/bucket/histogram/date_histogram.rs b/src/aggregation/bucket/histogram/date_histogram.rs index a46d71dc4..dd85cc51e 100644 --- a/src/aggregation/bucket/histogram/date_histogram.rs +++ b/src/aggregation/bucket/histogram/date_histogram.rs @@ -34,10 +34,10 @@ use crate::aggregation::*; pub struct DateHistogramAggregationReq { #[doc(hidden)] /// Only for validation - interval: Option, + pub interval: Option, #[doc(hidden)] /// Only for validation - calendar_interval: Option, + pub calendar_interval: Option, /// The field to aggregate on. pub field: String, /// The format to format dates. Unsupported currently.