#[non_exhaustive]pub struct CreateVocabularyOutput {
pub vocabulary_arn: String,
pub vocabulary_id: String,
pub state: VocabularyState,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.vocabulary_arn: String
The Amazon Resource Name (ARN) of the custom vocabulary.
vocabulary_id: String
The identifier of the custom vocabulary.
state: VocabularyState
The current state of the custom vocabulary.
Implementations§
source§impl CreateVocabularyOutput
impl CreateVocabularyOutput
sourcepub fn vocabulary_arn(&self) -> &str
pub fn vocabulary_arn(&self) -> &str
The Amazon Resource Name (ARN) of the custom vocabulary.
sourcepub fn vocabulary_id(&self) -> &str
pub fn vocabulary_id(&self) -> &str
The identifier of the custom vocabulary.
sourcepub fn state(&self) -> &VocabularyState
pub fn state(&self) -> &VocabularyState
The current state of the custom vocabulary.
source§impl CreateVocabularyOutput
impl CreateVocabularyOutput
sourcepub fn builder() -> CreateVocabularyOutputBuilder
pub fn builder() -> CreateVocabularyOutputBuilder
Creates a new builder-style object to manufacture CreateVocabularyOutput
.
Trait Implementations§
source§impl Clone for CreateVocabularyOutput
impl Clone for CreateVocabularyOutput
source§fn clone(&self) -> CreateVocabularyOutput
fn clone(&self) -> CreateVocabularyOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateVocabularyOutput
impl Debug for CreateVocabularyOutput
source§impl PartialEq for CreateVocabularyOutput
impl PartialEq for CreateVocabularyOutput
source§fn eq(&self, other: &CreateVocabularyOutput) -> bool
fn eq(&self, other: &CreateVocabularyOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateVocabularyOutput
impl RequestId for CreateVocabularyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateVocabularyOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateVocabularyOutput
impl Send for CreateVocabularyOutput
impl Sync for CreateVocabularyOutput
impl Unpin for CreateVocabularyOutput
impl UnwindSafe for CreateVocabularyOutput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.