Struct aws_sdk_connect::types::VocabularySummary
source · #[non_exhaustive]pub struct VocabularySummary {
pub name: String,
pub id: String,
pub arn: String,
pub language_code: VocabularyLanguageCode,
pub state: VocabularyState,
pub last_modified_time: 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: String
A unique name of the custom vocabulary.
id: String
The identifier of the custom vocabulary.
arn: String
The Amazon Resource Name (ARN) of the custom vocabulary.
language_code: VocabularyLanguageCode
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
state: VocabularyState
The current state of the custom vocabulary.
last_modified_time: 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) -> &VocabularyLanguageCode
pub fn language_code(&self) -> &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) -> &VocabularyState
pub fn state(&self) -> &VocabularyState
The current state of the custom vocabulary.
sourcepub fn last_modified_time(&self) -> &DateTime
pub fn last_modified_time(&self) -> &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 for VocabularySummary
impl PartialEq 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 ==
.