Skip to content

Commit

Permalink
Merge 2937500 into ff3c281
Browse files Browse the repository at this point in the history
  • Loading branch information
fhaynes committed Nov 5, 2018
2 parents ff3c281 + 2937500 commit c7e50c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/query/aggregate/bucket.rs
Expand Up @@ -5,6 +5,7 @@ pub struct Range {
}

#[derive(Serialize)]
#[allow(dead_code)]
pub struct RangeResult {
key: String,
#[serde(skip_serializing_if = "Option::is_none")]
Expand All @@ -18,4 +19,4 @@ pub struct RangeResult {
#[serde(untagged)]
pub enum Buckets {
RangeAggregate { field: String, ranges: Vec<Range> },
}
}

0 comments on commit c7e50c8

Please sign in to comment.