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 ==
.impl StructuralPartialEq for VocabularySummary
Auto Trait Implementations§
impl Freeze for VocabularySummary
impl RefUnwindSafe for VocabularySummary
impl Send for VocabularySummary
impl Sync for VocabularySummary
impl Unpin for VocabularySummary
impl UnwindSafe for VocabularySummary
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> 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