Struct google_jobs3::NumericBucketingOption [−][src]
pub struct NumericBucketingOption { pub bucket_bounds: Option<Vec<f64>>, pub requires_min_max: Option<bool>, }
Input only.
Use this field to specify bucketing option for the histogram search response.
This type is not used in any activity, and only used as part of another schema.
Fields
bucket_bounds: Option<Vec<f64>>
Required.
Two adjacent values form a histogram bucket. Values should be in ascending order. For example, if [5, 10, 15] are provided, four buckets are created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 [buckets_bound is supported.
requires_min_max: Option<bool>
Optional.
If set to true, the histogram result includes minimum/maximum value of the numeric field.
Trait Implementations
impl Default for NumericBucketingOption
[src]
impl Default for NumericBucketingOption
fn default() -> NumericBucketingOption
[src]
fn default() -> NumericBucketingOption
Returns the "default value" for a type. Read more
impl Clone for NumericBucketingOption
[src]
impl Clone for NumericBucketingOption
fn clone(&self) -> NumericBucketingOption
[src]
fn clone(&self) -> NumericBucketingOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for NumericBucketingOption
[src]
impl Debug for NumericBucketingOption
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for NumericBucketingOption
[src]
impl Part for NumericBucketingOption
Auto Trait Implementations
impl Send for NumericBucketingOption
impl Send for NumericBucketingOption
impl Sync for NumericBucketingOption
impl Sync for NumericBucketingOption