pub fn buckets(mut self, input: crate::model::Bucket) -> Self {
            let mut v = self.buckets.unwrap_or_default();
            v.push(input);
            self.buckets = Some(v);
            self
        }
/// Appends an item to `buckets`.
///
/// To override the contents of this collection use [`set_buckets`](Self::set_buckets).
///
/// <p>The main part of the response with a list of buckets. Each bucket contains a <code>keyValue</code> and a <code>count</code>.</p>
/// <p> <code>keyValue</code>: The aggregation field value counted for the particular bucket.</p>
/// <p> <code>count</code>: The number of documents that have that value.</p>
Appends an item to `buckets`.
To override the contents of this collection use [`set_buckets`](Self::set_buckets).

The main part of the response with a list of buckets. Each bucket contains a keyValue and a count.
 keyValue: The aggregation field value counted for the particular bucket.
 count: The number of documents that have that value.
Appends an item to ` buckets ` . To override the contents of this collection use [ ` set_buckets ` ] ( Self :: set_buckets ) . The main part of the response with a list of buckets . Each bucket contains a keyValue and a count . keyValue : The aggregation field value counted for the particular bucket . count : The number of documents that have that value .
pub fn buckets(mut self, input: crate::model::Bucket) -> Self {
            let mut v = self.buckets.unwrap_or_default();
            v.push(input);
            self.buckets = Some(v);
            self
        }
pub fn buckets ( mut self , input : crate :: model :: Bucket ) -> Self { let mut v = self . buckets . unwrap_or_default ( ) ; v . push ( input ) ; self . buckets = Some ( v ) ; self }
Appends an item to `buckets`.
Appends an item to ` buckets ` .
mut self
input
crate::model::Bucket
mut self
input
crate::model::Bucket