Struct gapi_grpc::google::cloud::mediatranslation::v1beta1::streaming_translate_speech_result::TextTranslationResult[][src]

pub struct TextTranslationResult {
    pub translation: String,
    pub is_final: bool,
}

Text translation result.

Fields

translation: String

Output only. The translated sentence.

is_final: bool

Output only. If false, this StreamingTranslateSpeechResult represents an interim result that may change. If true, this is the final time the translation service will return this particular StreamingTranslateSpeechResult, the streaming translator will not return any further hypotheses for this portion of the transcript and corresponding audio.

Trait Implementations

impl Clone for TextTranslationResult[src]

impl Debug for TextTranslationResult[src]

impl Default for TextTranslationResult[src]

impl Message for TextTranslationResult[src]

impl PartialEq<TextTranslationResult> for TextTranslationResult[src]

impl StructuralPartialEq for TextTranslationResult[src]

Auto Trait Implementations

impl RefUnwindSafe for TextTranslationResult

impl Send for TextTranslationResult

impl Sync for TextTranslationResult

impl Unpin for TextTranslationResult

impl UnwindSafe for TextTranslationResult

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]