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

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.

Optional.

If set to true, the histogram result includes minimum/maximum value of the numeric field.

Trait Implementations

impl Default for NumericBucketingOption
[src]

Returns the "default value" for a type. Read more

impl Clone for NumericBucketingOption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NumericBucketingOption
[src]

Formats the value using the given formatter. Read more

impl Part for NumericBucketingOption
[src]

Auto Trait Implementations