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

pub struct DocumentOutputConfig {
    pub mime_type: String,
    pub destination: Option<Destination>,
}

A document translation request output config.

Fields

mime_type: String

Optional. Specifies the translated document’s mime_type. If not specified, the translated file’s mime type will be the same as the input file’s mime type. Currently only support the output mime type to be the same as input mime type.

destination: Option<Destination>

A URI destination for the translated document. It is optional to provide a destination. If provided the results from TranslateDocument will be stored in the destination. Whether a destination is provided or not, the translated documents will be returned within TranslateDocumentResponse.document_translation and TranslateDocumentResponse.glossary_document_translation.

Trait Implementations

impl Clone for DocumentOutputConfig[src]

impl Debug for DocumentOutputConfig[src]

impl Default for DocumentOutputConfig[src]

impl Message for DocumentOutputConfig[src]

impl PartialEq<DocumentOutputConfig> for DocumentOutputConfig[src]

impl StructuralPartialEq for DocumentOutputConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for DocumentOutputConfig

impl Send for DocumentOutputConfig

impl Sync for DocumentOutputConfig

impl Unpin for DocumentOutputConfig

impl UnwindSafe for DocumentOutputConfig

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]