Struct google_recommendationengine1_beta1::api::GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult[][src]

pub struct GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult {
    pub id: Option<String>,
    pub item_metadata: Option<HashMap<String, String>>,
}

PredictionResult represents the recommendation prediction results.

This type is not used in any activity, and only used as part of another schema.

Fields

id: Option<String>

ID of the recommended catalog item

item_metadata: Option<HashMap<String, String>>

Additional item metadata / annotations. Possible values: * catalogItem: JSON representation of the catalogItem. Will be set if returnCatalogItem is set to true in PredictRequest.params. * score: Prediction score in double value. Will be set if returnItemScore is set to true in PredictRequest.params.

Trait Implementations

impl Clone for GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult[src]

impl Debug for GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult[src]

impl Default for GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult[src]

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

impl Part for GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult[src]

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