#[non_exhaustive]pub struct GetBucketsAggregationInput {
pub index_name: Option<String>,
pub query_string: Option<String>,
pub aggregation_field: Option<String>,
pub query_version: Option<String>,
pub buckets_aggregation_type: Option<BucketsAggregationType>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index_name: Option<String>The name of the index to search.
query_string: Option<String>The search query string.
aggregation_field: Option<String>The aggregation field.
query_version: Option<String>The version of the query.
buckets_aggregation_type: Option<BucketsAggregationType>The basic control of the response shape and the bucket aggregation type to perform.
Implementations§
source§impl GetBucketsAggregationInput
impl GetBucketsAggregationInput
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The name of the index to search.
sourcepub fn query_string(&self) -> Option<&str>
pub fn query_string(&self) -> Option<&str>
The search query string.
sourcepub fn aggregation_field(&self) -> Option<&str>
pub fn aggregation_field(&self) -> Option<&str>
The aggregation field.
sourcepub fn query_version(&self) -> Option<&str>
pub fn query_version(&self) -> Option<&str>
The version of the query.
sourcepub fn buckets_aggregation_type(&self) -> Option<&BucketsAggregationType>
pub fn buckets_aggregation_type(&self) -> Option<&BucketsAggregationType>
The basic control of the response shape and the bucket aggregation type to perform.
source§impl GetBucketsAggregationInput
impl GetBucketsAggregationInput
sourcepub fn builder() -> GetBucketsAggregationInputBuilder
pub fn builder() -> GetBucketsAggregationInputBuilder
Creates a new builder-style object to manufacture GetBucketsAggregationInput.
Trait Implementations§
source§impl Clone for GetBucketsAggregationInput
impl Clone for GetBucketsAggregationInput
source§fn clone(&self) -> GetBucketsAggregationInput
fn clone(&self) -> GetBucketsAggregationInput
Returns a copy 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 GetBucketsAggregationInput
impl Debug for GetBucketsAggregationInput
source§impl PartialEq for GetBucketsAggregationInput
impl PartialEq for GetBucketsAggregationInput
source§fn eq(&self, other: &GetBucketsAggregationInput) -> bool
fn eq(&self, other: &GetBucketsAggregationInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetBucketsAggregationInput
Auto Trait Implementations§
impl RefUnwindSafe for GetBucketsAggregationInput
impl Send for GetBucketsAggregationInput
impl Sync for GetBucketsAggregationInput
impl Unpin for GetBucketsAggregationInput
impl UnwindSafe for GetBucketsAggregationInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.