Struct google_jobs4::api::HistogramQueryResult[][src]

pub struct HistogramQueryResult {
    pub histogram: Option<HashMap<String, String>>,
    pub histogram_query: Option<String>,
}

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

impl Clone for HistogramQueryResult[src]

impl Debug for HistogramQueryResult[src]

impl Default for HistogramQueryResult[src]

impl<'de> Deserialize<'de> for HistogramQueryResult[src]

impl Part for HistogramQueryResult[src]

impl Serialize for HistogramQueryResult[src]

Auto Trait Implementations

impl RefUnwindSafe for HistogramQueryResult[src]

impl Send for HistogramQueryResult[src]

impl Sync for HistogramQueryResult[src]

impl Unpin for HistogramQueryResult[src]

impl UnwindSafe for HistogramQueryResult[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.