Struct google_recommendationengine1_beta1::api::GoogleCloudRecommendationengineV1beta1PredictResponse[][src]

pub struct GoogleCloudRecommendationengineV1beta1PredictResponse {
    pub dry_run: Option<bool>,
    pub items_missing_in_catalog: Option<Vec<String>>,
    pub metadata: Option<HashMap<String, String>>,
    pub next_page_token: Option<String>,
    pub recommendation_token: Option<String>,
    pub results: Option<Vec<GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult>>,
}

Response message for predict 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

dry_run: Option<bool>

True if the dryRun property was set in the request.

items_missing_in_catalog: Option<Vec<String>>

IDs of items in the request that were missing from the catalog.

metadata: Option<HashMap<String, String>>

Additional domain specific prediction response metadata.

next_page_token: Option<String>

If empty, the list is complete. If nonempty, the token to pass to the next request’s PredictRequest.page_token.

recommendation_token: Option<String>

A unique recommendation token. This should be included in the user event logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.

results: Option<Vec<GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult>>

A list of recommended items. The order represents the ranking (from the most relevant item to the least).

Trait Implementations

impl Clone for GoogleCloudRecommendationengineV1beta1PredictResponse[src]

impl Debug for GoogleCloudRecommendationengineV1beta1PredictResponse[src]

impl Default for GoogleCloudRecommendationengineV1beta1PredictResponse[src]

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

impl ResponseResult for GoogleCloudRecommendationengineV1beta1PredictResponse[src]

impl Serialize for GoogleCloudRecommendationengineV1beta1PredictResponse[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<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.