[][src]Enum gcp_client::google::cloud::talent::v4beta1::profile_event::ProfileEventType

#[repr(i32)]pub enum ProfileEventType {
    Unspecified,
    Impression,
    View,
    Bookmark,
}

The enum represents types of client events for a candidate profile.

Variants

Unspecified

Default value.

Impression

Send this event when a [ProfileEvent.profiles][google.cloud.talent.v4beta1.ProfileEvent.profiles] was sent as a part of a result set for a CTS API call and was rendered in the end user's UI (that is, the [ProfileEvent.recruiter][google.cloud.talent.v4beta1.ProfileEvent.recruiter]).

View

The VIEW event records the action of a candidate's profile being viewed by an end user. This is critical to tracking product metrics and should be sent for every profile VIEW that happens in your system, whether the event is associated with an API call (for example, a recruiter making a request for a result set and clicking on a profile) or not (a recruiter using the system to view profile details without making a request).

For a VIEW events associated with API calls, the [ClientEvent.request_id][google.cloud.talent.v4beta1.ClientEvent.request_id] should be populated. If the VIEW is not associated with an API call, [request_id][google.cloud.talent.v4beta1.ClientEvent.request_id] should not be populated.

This event requires a valid recruiter and one valid ID in profiles.

Bookmark

The profile is bookmarked.

Implementations

impl ProfileEventType[src]

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

Returns true if value is a variant of ProfileEventType.

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

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

Trait Implementations

impl Clone for ProfileEventType[src]

impl Copy for ProfileEventType[src]

impl Debug for ProfileEventType[src]

impl Default for ProfileEventType[src]

impl Eq for ProfileEventType[src]

impl From<ProfileEventType> for i32[src]

impl Hash for ProfileEventType[src]

impl Ord for ProfileEventType[src]

impl PartialEq<ProfileEventType> for ProfileEventType[src]

impl PartialOrd<ProfileEventType> for ProfileEventType[src]

impl StructuralEq for ProfileEventType[src]

impl StructuralPartialEq for ProfileEventType[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]