pub struct NestedAggregation { /* private fields */ }
Implementations§
Source§impl NestedAggregation
impl NestedAggregation
pub fn new(name: &str) -> Self
pub fn set_path(self, path: &str) -> Self
pub fn append_aggregation<T>(self, query: T) -> Selfwhere
T: AggregationTrait,
Trait Implementations§
Source§impl AggregationTrait for NestedAggregation
impl AggregationTrait for NestedAggregation
Source§impl Default for NestedAggregation
impl Default for NestedAggregation
Source§fn default() -> NestedAggregation
fn default() -> NestedAggregation
Returns the “default value” for a type. Read more
Source§impl Serialize for NestedAggregation
impl Serialize for NestedAggregation
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for NestedAggregation
impl RefUnwindSafe for NestedAggregation
impl Send for NestedAggregation
impl Sync for NestedAggregation
impl Unpin for NestedAggregation
impl UnwindSafe for NestedAggregation
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