Struct aws_sdk_connect::types::VocabularySummary
source · #[non_exhaustive]pub struct VocabularySummary {
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>,
}
Expand description
Contains summary information about the 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.
Implementations§
source§impl VocabularySummary
impl VocabularySummary
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.
source§impl VocabularySummary
impl VocabularySummary
sourcepub fn builder() -> VocabularySummaryBuilder
pub fn builder() -> VocabularySummaryBuilder
Creates a new builder-style object to manufacture VocabularySummary
.
Trait Implementations§
source§impl Clone for VocabularySummary
impl Clone for VocabularySummary
source§fn clone(&self) -> VocabularySummary
fn clone(&self) -> VocabularySummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VocabularySummary
impl Debug for VocabularySummary
source§impl PartialEq<VocabularySummary> for VocabularySummary
impl PartialEq<VocabularySummary> for VocabularySummary
source§fn eq(&self, other: &VocabularySummary) -> bool
fn eq(&self, other: &VocabularySummary) -> bool
self
and other
values to be equal, and is used
by ==
.