Struct google_jobs4::api::SearchJobsResponse[][src]

pub struct SearchJobsResponse {
    pub broadened_query_jobs_count: Option<i32>,
    pub histogram_query_results: Option<Vec<HistogramQueryResult>>,
    pub location_filters: Option<Vec<Location>>,
    pub matching_jobs: Option<Vec<MatchingJob>>,
    pub metadata: Option<ResponseMetadata>,
    pub next_page_token: Option<String>,
    pub spell_correction: Option<SpellingCorrection>,
    pub total_size: Option<i32>,
}

Response for SearchJob method.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

broadened_query_jobs_count: Option<i32>

If query broadening is enabled, we may append additional results from the broadened query. This number indicates how many of the jobs returned in the jobs field are from the broadened query. These results are always at the end of the jobs list. In particular, a value of 0, or if the field isn't set, all the jobs in the jobs list are from the original (without broadening) query. If this field is non-zero, subsequent requests with offset after this result set should contain all broadened results.

histogram_query_results: Option<Vec<HistogramQueryResult>>

The histogram results that match with specified SearchJobsRequest.histogram_queries.

location_filters: Option<Vec<Location>>

The location filters that the service applied to the specified query. If any filters are lat-lng based, the Location.location_type is Location.LocationType.LOCATION_TYPE_UNSPECIFIED.

matching_jobs: Option<Vec<MatchingJob>>

The Job entities that match the specified SearchJobsRequest.

metadata: Option<ResponseMetadata>

Additional information for the API invocation, such as the request tracking id.

next_page_token: Option<String>

The token that specifies the starting position of the next page of results. This field is empty if there are no more results.

spell_correction: Option<SpellingCorrection>

The spell checking result, and correction.

total_size: Option<i32>

Number of jobs that match the specified query. Note: This size is precise only if the total is less than 100,000.

Trait Implementations

impl Clone for SearchJobsResponse[src]

impl Debug for SearchJobsResponse[src]

impl Default for SearchJobsResponse[src]

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

impl ResponseResult for SearchJobsResponse[src]

impl Serialize for SearchJobsResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for SearchJobsResponse[src]

impl Send for SearchJobsResponse[src]

impl Sync for SearchJobsResponse[src]

impl Unpin for SearchJobsResponse[src]

impl UnwindSafe for SearchJobsResponse[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.