Struct aws_sdk_connect::types::Vocabulary
source · #[non_exhaustive]pub struct Vocabulary {
pub name: Option<String>,
pub id: Option<String>,
pub arn: Option<String>,
pub language_code: Option<VocabularyLanguageCode>,
pub state: Option<VocabularyState>,
pub last_modified_time: Option<DateTime>,
pub failure_reason: Option<String>,
pub content: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Contains information about a custom vocabulary.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
A unique name of the custom vocabulary.
id: Option<String>
The identifier of the custom vocabulary.
arn: Option<String>
The Amazon Resource Name (ARN) of the custom vocabulary.
language_code: Option<VocabularyLanguageCode>
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
state: Option<VocabularyState>
The current state of the custom vocabulary.
last_modified_time: Option<DateTime>
The timestamp when the custom vocabulary was last modified.
failure_reason: Option<String>
The reason why the custom vocabulary was not created.
content: Option<String>
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. For more information, see Create a custom vocabulary using a table.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl Vocabulary
impl Vocabulary
sourcepub fn language_code(&self) -> Option<&VocabularyLanguageCode>
pub fn language_code(&self) -> Option<&VocabularyLanguageCode>
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
sourcepub fn state(&self) -> Option<&VocabularyState>
pub fn state(&self) -> Option<&VocabularyState>
The current state of the custom vocabulary.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when the custom vocabulary was last modified.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The reason why the custom vocabulary was not created.
sourcepub fn content(&self) -> Option<&str>
pub fn content(&self) -> Option<&str>
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. For more information, see Create a custom vocabulary using a table.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
source§impl Vocabulary
impl Vocabulary
sourcepub fn builder() -> VocabularyBuilder
pub fn builder() -> VocabularyBuilder
Creates a new builder-style object to manufacture Vocabulary
.
Trait Implementations§
source§impl Clone for Vocabulary
impl Clone for Vocabulary
source§fn clone(&self) -> Vocabulary
fn clone(&self) -> Vocabulary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Vocabulary
impl Debug for Vocabulary
source§impl PartialEq<Vocabulary> for Vocabulary
impl PartialEq<Vocabulary> for Vocabulary
source§fn eq(&self, other: &Vocabulary) -> bool
fn eq(&self, other: &Vocabulary) -> bool
self
and other
values to be equal, and is used
by ==
.