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: StringThe identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
language_code: VocabularyLanguageCodeThe language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
vocabulary_id: StringThe identifier of the custom vocabulary.
vocabulary_name: StringA 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
impl StructuralPartialEq for DefaultVocabulary
Auto Trait Implementations§
impl Freeze for DefaultVocabulary
impl RefUnwindSafe for DefaultVocabulary
impl Send for DefaultVocabulary
impl Sync for DefaultVocabulary
impl Unpin for DefaultVocabulary
impl UnwindSafe for DefaultVocabulary
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more