Struct gapi_grpc::google::cloud::aiplatform::v1beta1::schema::predict::prediction::TextSentimentPredictionResult[][src]

pub struct TextSentimentPredictionResult {
    pub sentiment: i32,
}

Prediction output format for Text Sentiment

Fields

sentiment: i32

The integer sentiment labels between 0 (inclusive) and sentimentMax label (inclusive), while 0 maps to the least positive sentiment and sentimentMax maps to the most positive one. The higher the score is, the more positive the sentiment in the text snippet is. Note: sentimentMax is an integer value between 1 (inclusive) and 10 (inclusive).

Trait Implementations

impl Clone for TextSentimentPredictionResult[src]

impl Debug for TextSentimentPredictionResult[src]

impl Default for TextSentimentPredictionResult[src]

impl Message for TextSentimentPredictionResult[src]

impl PartialEq<TextSentimentPredictionResult> for TextSentimentPredictionResult[src]

impl StructuralPartialEq for TextSentimentPredictionResult[src]

Auto Trait Implementations

impl RefUnwindSafe for TextSentimentPredictionResult

impl Send for TextSentimentPredictionResult

impl Sync for TextSentimentPredictionResult

impl Unpin for TextSentimentPredictionResult

impl UnwindSafe for TextSentimentPredictionResult

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]