Struct google_jobs3::api::CustomAttributeHistogramRequest
source · pub struct CustomAttributeHistogramRequest {
pub key: Option<String>,
pub long_value_histogram_bucketing_option: Option<NumericBucketingOption>,
pub string_value_histogram: Option<bool>,
}
Expand description
Custom attributes histogram request. An error is thrown if neither string_value_histogram or long_value_histogram_bucketing_option has been defined.
This type is not used in any activity, and only used as part of another schema.
Fields§
§key: Option<String>
Required. Specifies the custom field key to perform a histogram on. If specified without long_value_histogram_bucketing_option
, histogram on string values of the given key
is triggered, otherwise histogram is performed on long values.
long_value_histogram_bucketing_option: Option<NumericBucketingOption>
Optional. Specifies buckets used to perform a range histogram on Job’s filterable long custom field values, or min/max value requirements.
string_value_histogram: Option<bool>
Optional. If set to true, the response includes the histogram value for each key as a string.
Trait Implementations§
source§impl Clone for CustomAttributeHistogramRequest
impl Clone for CustomAttributeHistogramRequest
source§fn clone(&self) -> CustomAttributeHistogramRequest
fn clone(&self) -> CustomAttributeHistogramRequest
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 Default for CustomAttributeHistogramRequest
impl Default for CustomAttributeHistogramRequest
source§fn default() -> CustomAttributeHistogramRequest
fn default() -> CustomAttributeHistogramRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomAttributeHistogramRequest
impl<'de> Deserialize<'de> for CustomAttributeHistogramRequest
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
impl Part for CustomAttributeHistogramRequest
Auto Trait Implementations§
impl RefUnwindSafe for CustomAttributeHistogramRequest
impl Send for CustomAttributeHistogramRequest
impl Sync for CustomAttributeHistogramRequest
impl Unpin for CustomAttributeHistogramRequest
impl UnwindSafe for CustomAttributeHistogramRequest
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