[][src]Struct rusoto_transcribe::CreateVocabularyRequest

pub struct CreateVocabularyRequest {
    pub language_code: String,
    pub phrases: Option<Vec<String>>,
    pub vocabulary_file_uri: Option<String>,
    pub vocabulary_name: String,
}

Fields

language_code: String

The language code of the vocabulary entries.

phrases: Option<Vec<String>>

An array of strings that contains the vocabulary entries.

vocabulary_file_uri: Option<String>

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is

https://s3-<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

For example:

https://s3-us-east-1.amazonaws.com/examplebucket/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

vocabulary_name: String

The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.

Trait Implementations

impl PartialEq<CreateVocabularyRequest> for CreateVocabularyRequest[src]

impl Default for CreateVocabularyRequest[src]

impl Clone for CreateVocabularyRequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CreateVocabularyRequest[src]

impl Serialize for CreateVocabularyRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T