Struct google_jobs4::api::HistogramQueryResult [−][src]
pub struct HistogramQueryResult {
pub histogram: Option<HashMap<String, String>>,
pub histogram_query: Option<String>,
}
Expand description
Histogram result that matches HistogramQuery specified in searches.
This type is not used in any activity, and only used as part of another schema.
Fields
histogram: Option<HashMap<String, String>>
A map from the values of the facet associated with distinct values to the number of matching entries with corresponding value. The key format is: * (for string histogram) string values stored in the field. * (for named numeric bucket) name specified in bucket()
function, like for bucket(0, MAX, "non-negative")
, the key will be non-negative
. * (for anonymous numeric bucket) range formatted as -
, for example, 0-1000
, MIN-0
, and 0-MAX
.
histogram_query: Option<String>
Requested histogram expression.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for HistogramQueryResult
impl Send for HistogramQueryResult
impl Sync for HistogramQueryResult
impl Unpin for HistogramQueryResult
impl UnwindSafe for HistogramQueryResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more