Struct gapi_grpc::google::cloud::translation::v3beta1::DocumentTranslation[][src]

pub struct DocumentTranslation {
    pub byte_stream_outputs: Vec<Vec<u8>>,
    pub mime_type: String,
    pub detected_language_code: String,
}

A translated document message.

Fields

byte_stream_outputs: Vec<Vec<u8>>

The array of translated documents. It is expected to be size 1 for now. We may produce multiple translated documents in the future for other type of file formats.

mime_type: String

The translated document’s mime type.

detected_language_code: String

The detected language for the input document. If the user did not provide the source language for the input document, this field will have the language code automatically detected. If the source language was passed, auto-detection of the language does not occur and this field is empty.

Trait Implementations

impl Clone for DocumentTranslation[src]

impl Debug for DocumentTranslation[src]

impl Default for DocumentTranslation[src]

impl Message for DocumentTranslation[src]

impl PartialEq<DocumentTranslation> for DocumentTranslation[src]

impl StructuralPartialEq for DocumentTranslation[src]

Auto Trait Implementations

impl RefUnwindSafe for DocumentTranslation

impl Send for DocumentTranslation

impl Sync for DocumentTranslation

impl Unpin for DocumentTranslation

impl UnwindSafe for DocumentTranslation

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]