[][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

impl Send for CreateVocabularyRequest

impl Sync for CreateVocabularyRequest

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self