Struct google_jobs3::api::NumericBucketingOption
source · pub struct NumericBucketingOption {
pub bucket_bounds: Option<Vec<f64>>,
pub requires_min_max: Option<bool>,
}
Expand description
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§
source§impl Clone for NumericBucketingOption
impl Clone for NumericBucketingOption
source§fn clone(&self) -> NumericBucketingOption
fn clone(&self) -> NumericBucketingOption
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 NumericBucketingOption
impl Debug for NumericBucketingOption
source§impl Default for NumericBucketingOption
impl Default for NumericBucketingOption
source§fn default() -> NumericBucketingOption
fn default() -> NumericBucketingOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NumericBucketingOption
impl<'de> Deserialize<'de> for NumericBucketingOption
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 Serialize for NumericBucketingOption
impl Serialize for NumericBucketingOption
impl Part for NumericBucketingOption
Auto Trait Implementations§
impl RefUnwindSafe for NumericBucketingOption
impl Send for NumericBucketingOption
impl Sync for NumericBucketingOption
impl Unpin for NumericBucketingOption
impl UnwindSafe for NumericBucketingOption
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