Enum gapi_grpc::google::cloud::talent::v4::search_jobs_request::DiversificationLevel[][src]

#[repr(i32)]pub enum DiversificationLevel {
    Unspecified,
    Disabled,
    Simple,
}

Controls whether highly similar jobs are returned next to each other in the search results. Jobs are identified as highly similar based on their titles, job categories, and locations. Highly similar results are clustered so that only one representative job of the cluster is displayed to the job seeker higher up in the results, with the other jobs being displayed lower down in the results.

Variants

Unspecified

The diversification level isn’t specified.

Disabled

Disables diversification. Jobs that would normally be pushed to the last page would not have their positions altered. This may result in highly similar jobs appearing in sequence in the search results.

Simple

Default diversifying behavior. The result list is ordered so that highly similar results are pushed to the end of the last page of search results. If you are using pageToken to page through the result set, latency might be lower but we can’t guarantee that all results are returned. If you are using page offset, latency might be higher but all results are returned.

Implementations

impl DiversificationLevel[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of DiversificationLevel.

pub fn from_i32(value: i32) -> Option<DiversificationLevel>[src]

Converts an i32 to a DiversificationLevel, or None if value is not a valid variant.

Trait Implementations

impl Clone for DiversificationLevel[src]

impl Copy for DiversificationLevel[src]

impl Debug for DiversificationLevel[src]

impl Default for DiversificationLevel[src]

impl Eq for DiversificationLevel[src]

impl From<DiversificationLevel> for i32[src]

impl Hash for DiversificationLevel[src]

impl Ord for DiversificationLevel[src]

impl PartialEq<DiversificationLevel> for DiversificationLevel[src]

impl PartialOrd<DiversificationLevel> for DiversificationLevel[src]

impl StructuralEq for DiversificationLevel[src]

impl StructuralPartialEq for DiversificationLevel[src]

Auto Trait Implementations

impl RefUnwindSafe for DiversificationLevel

impl Send for DiversificationLevel

impl Sync for DiversificationLevel

impl Unpin for DiversificationLevel

impl UnwindSafe for DiversificationLevel

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]