Struct gapi_grpc::google::cloud::automl::v1beta1::PredictResponse[][src]

pub struct PredictResponse {
    pub payload: Vec<AnnotationPayload>,
    pub preprocessed_input: Option<ExamplePayload>,
    pub metadata: HashMap<String, String>,
}

Response message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].

Fields

payload: Vec<AnnotationPayload>

Prediction result. Translation and Text Sentiment will return precisely one payload.

preprocessed_input: Option<ExamplePayload>

The preprocessed example that AutoML actually makes prediction on. Empty if AutoML does not preprocess the input example.

metadata: HashMap<String, String>

Additional domain-specific prediction response metadata.

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

impl RefUnwindSafe for PredictResponse

impl Send for PredictResponse

impl Sync for PredictResponse

impl Unpin for PredictResponse

impl UnwindSafe for PredictResponse

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