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

pub struct PredictRequest {
    pub name: String,
    pub payload: Option<ExamplePayload>,
    pub params: HashMap<String, String>,
}

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

Fields

name: String

Required. Name of the model requested to serve the prediction.

payload: Option<ExamplePayload>

Required. Payload to perform a prediction on. The payload must match the problem type that the model was trained to solve.

params: HashMap<String, String>

Additional domain-specific parameters, any string must be up to 25000 characters long.

Trait Implementations

impl Clone for PredictRequest[src]

impl Debug for PredictRequest[src]

impl Default for PredictRequest[src]

impl Message for PredictRequest[src]

impl PartialEq<PredictRequest> for PredictRequest[src]

impl StructuralPartialEq for PredictRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for PredictRequest

impl Send for PredictRequest

impl Sync for PredictRequest

impl Unpin for PredictRequest

impl UnwindSafe for PredictRequest

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]