pub struct AggregationTerms {
pub field: Option<String>,
pub size: Option<i32>,
}
Fields§
§field: Option<String>
Attribute Name to Aggregate
size: Option<i32>
Maximum Number of Buckets in the Result
Implementations§
Source§impl AggregationTerms
impl AggregationTerms
pub fn new() -> AggregationTerms
Trait Implementations§
Source§impl Clone for AggregationTerms
impl Clone for AggregationTerms
Source§fn clone(&self) -> AggregationTerms
fn clone(&self) -> AggregationTerms
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AggregationTerms
impl Debug for AggregationTerms
Source§impl Default for AggregationTerms
impl Default for AggregationTerms
Source§fn default() -> AggregationTerms
fn default() -> AggregationTerms
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AggregationTerms
impl<'de> Deserialize<'de> for AggregationTerms
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AggregationTerms
impl PartialEq for AggregationTerms
Source§impl Serialize for AggregationTerms
impl Serialize for AggregationTerms
impl StructuralPartialEq for AggregationTerms
Auto Trait Implementations§
impl Freeze for AggregationTerms
impl RefUnwindSafe for AggregationTerms
impl Send for AggregationTerms
impl Sync for AggregationTerms
impl Unpin for AggregationTerms
impl UnwindSafe for AggregationTerms
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more