[][src]Struct gcp_client::google::cloud::recommendationengine::v1beta1::PredictResponse

pub struct PredictResponse {
    pub results: Vec<PredictionResult>,
    pub recommendation_token: String,
    pub items_missing_in_catalog: Vec<String>,
    pub dry_run: bool,
    pub metadata: HashMap<String, Value>,
    pub next_page_token: String,
}

Response message for predict method.

Fields

results: Vec<PredictionResult>

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

recommendation_token: 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.

items_missing_in_catalog: Vec<String>

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

dry_run: bool

True if the dryRun property was set in the request.

metadata: HashMap<String, Value>

Additional domain specific prediction response metadata.

next_page_token: String

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

Trait Implementations

impl Clone for PredictResponse[src]

impl Debug for PredictResponse[src]

impl Default for PredictResponse[src]

impl Message for PredictResponse[src]

impl PartialEq<PredictResponse> for PredictResponse[src]

impl StructuralPartialEq for PredictResponse[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> 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]