Struct aws_sdk_connect::types::DefaultVocabulary
source · #[non_exhaustive]pub struct DefaultVocabulary {
pub instance_id: String,
pub language_code: VocabularyLanguageCode,
pub vocabulary_id: String,
pub vocabulary_name: String,
}
Expand description
Contains information about a default 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.instance_id: String
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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?
vocabulary_id: String
The identifier of the custom vocabulary.
vocabulary_name: String
A unique name of the custom vocabulary.
Implementations§
source§impl DefaultVocabulary
impl DefaultVocabulary
sourcepub fn instance_id(&self) -> &str
pub fn instance_id(&self) -> &str
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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 vocabulary_id(&self) -> &str
pub fn vocabulary_id(&self) -> &str
The identifier of the custom vocabulary.
sourcepub fn vocabulary_name(&self) -> &str
pub fn vocabulary_name(&self) -> &str
A unique name of the custom vocabulary.
source§impl DefaultVocabulary
impl DefaultVocabulary
sourcepub fn builder() -> DefaultVocabularyBuilder
pub fn builder() -> DefaultVocabularyBuilder
Creates a new builder-style object to manufacture DefaultVocabulary
.
Trait Implementations§
source§impl Clone for DefaultVocabulary
impl Clone for DefaultVocabulary
source§fn clone(&self) -> DefaultVocabulary
fn clone(&self) -> DefaultVocabulary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DefaultVocabulary
impl Debug for DefaultVocabulary
source§impl PartialEq for DefaultVocabulary
impl PartialEq for DefaultVocabulary
source§fn eq(&self, other: &DefaultVocabulary) -> bool
fn eq(&self, other: &DefaultVocabulary) -> bool
self
and other
values to be equal, and is used
by ==
.