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.