Struct gapi_grpc::google::cloud::aiplatform::v1beta1::schema::predict::instance::TextExtractionPredictionInstance[][src]

pub struct TextExtractionPredictionInstance {
    pub content: String,
    pub mime_type: String,
    pub key: String,
}

Prediction input format for Text Extraction.

Fields

content: String

The text snippet to make the predictions on.

mime_type: String

The MIME type of the text snippet. The supported MIME types are listed below.

key: String

This field is only used for batch prediction. If a key is provided, the batch prediction result will by mapped to this key. If omitted, then the batch prediction result will contain the entire input instance. AI Platform will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.

Trait Implementations

impl Clone for TextExtractionPredictionInstance[src]

impl Debug for TextExtractionPredictionInstance[src]

impl Default for TextExtractionPredictionInstance[src]

impl Message for TextExtractionPredictionInstance[src]

impl PartialEq<TextExtractionPredictionInstance> for TextExtractionPredictionInstance[src]

impl StructuralPartialEq for TextExtractionPredictionInstance[src]

Auto Trait Implementations

impl RefUnwindSafe for TextExtractionPredictionInstance

impl Send for TextExtractionPredictionInstance

impl Sync for TextExtractionPredictionInstance

impl Unpin for TextExtractionPredictionInstance

impl UnwindSafe for TextExtractionPredictionInstance

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]