Struct google_api_proto::google::cloud::talent::v4::SearchJobsResponse
source · pub struct SearchJobsResponse {
pub matching_jobs: Vec<MatchingJob>,
pub histogram_query_results: Vec<HistogramQueryResult>,
pub next_page_token: String,
pub location_filters: Vec<Location>,
pub total_size: i32,
pub metadata: Option<ResponseMetadata>,
pub broadened_query_jobs_count: i32,
pub spell_correction: Option<SpellingCorrection>,
}
Expand description
Response for SearchJob method.
Fields§
§matching_jobs: Vec<MatchingJob>
The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
histogram_query_results: Vec<HistogramQueryResult>
The histogram results that match with specified [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
next_page_token: String
The token that specifies the starting position of the next page of results. This field is empty if there are no more results.
location_filters: Vec<Location>
The location filters that the service applied to the specified query. If any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is [Location.LocationType.LOCATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED].
total_size: i32
Number of jobs that match the specified query.
Note: This size is precise only if the total is less than 100,000.
metadata: Option<ResponseMetadata>
Additional information for the API invocation, such as the request tracking id.
broadened_query_jobs_count: 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.
spell_correction: Option<SpellingCorrection>
The spell checking result, and correction.
Trait Implementations§
source§impl Clone for SearchJobsResponse
impl Clone for SearchJobsResponse
source§fn clone(&self) -> SearchJobsResponse
fn clone(&self) -> SearchJobsResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchJobsResponse
impl Debug for SearchJobsResponse
source§impl Default for SearchJobsResponse
impl Default for SearchJobsResponse
source§impl Message for SearchJobsResponse
impl Message for SearchJobsResponse
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SearchJobsResponse
impl PartialEq for SearchJobsResponse
source§fn eq(&self, other: &SearchJobsResponse) -> bool
fn eq(&self, other: &SearchJobsResponse) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchJobsResponse
Auto Trait Implementations§
impl Freeze for SearchJobsResponse
impl RefUnwindSafe for SearchJobsResponse
impl Send for SearchJobsResponse
impl Sync for SearchJobsResponse
impl Unpin for SearchJobsResponse
impl UnwindSafe for SearchJobsResponse
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request