pub struct Aggregation {
pub terms: Option<Box<AggregationTerms>>,
pub sort: Option<Vec<HashMap<String, AggregationSortInnerValue>>>,
}
Expand description
Aggregation : Aggregation Alias
Fields§
§terms: Option<Box<AggregationTerms>>
§sort: Option<Vec<HashMap<String, AggregationSortInnerValue>>>
Implementations§
Source§impl Aggregation
impl Aggregation
Sourcepub fn new() -> Aggregation
pub fn new() -> Aggregation
Aggregation Alias
Trait Implementations§
Source§impl Clone for Aggregation
impl Clone for Aggregation
Source§fn clone(&self) -> Aggregation
fn clone(&self) -> Aggregation
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 Aggregation
impl Debug for Aggregation
Source§impl Default for Aggregation
impl Default for Aggregation
Source§fn default() -> Aggregation
fn default() -> Aggregation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Aggregation
impl<'de> Deserialize<'de> for Aggregation
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 Aggregation
impl PartialEq for Aggregation
Source§impl Serialize for Aggregation
impl Serialize for Aggregation
impl StructuralPartialEq for Aggregation
Auto Trait Implementations§
impl Freeze for Aggregation
impl RefUnwindSafe for Aggregation
impl Send for Aggregation
impl Sync for Aggregation
impl Unpin for Aggregation
impl UnwindSafe for Aggregation
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