Struct aws_sdk_lexmodelsv2::operation::batch_create_custom_vocabulary_item::BatchCreateCustomVocabularyItemInput
source · #[non_exhaustive]pub struct BatchCreateCustomVocabularyItemInput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub custom_vocabulary_item_list: Option<Vec<NewCustomVocabularyItem>>,
}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.bot_id: Option<String>The identifier of the bot associated with this custom vocabulary.
bot_version: Option<String>The identifier of the version of the bot associated with this custom vocabulary.
locale_id: Option<String>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
custom_vocabulary_item_list: Option<Vec<NewCustomVocabularyItem>>A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
Implementations§
source§impl BatchCreateCustomVocabularyItemInput
impl BatchCreateCustomVocabularyItemInput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The identifier of the bot associated with this custom vocabulary.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The identifier of the version of the bot associated with this custom vocabulary.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
sourcepub fn custom_vocabulary_item_list(&self) -> &[NewCustomVocabularyItem]
pub fn custom_vocabulary_item_list(&self) -> &[NewCustomVocabularyItem]
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .custom_vocabulary_item_list.is_none().
source§impl BatchCreateCustomVocabularyItemInput
impl BatchCreateCustomVocabularyItemInput
sourcepub fn builder() -> BatchCreateCustomVocabularyItemInputBuilder
pub fn builder() -> BatchCreateCustomVocabularyItemInputBuilder
Creates a new builder-style object to manufacture BatchCreateCustomVocabularyItemInput.
Trait Implementations§
source§impl Clone for BatchCreateCustomVocabularyItemInput
impl Clone for BatchCreateCustomVocabularyItemInput
source§fn clone(&self) -> BatchCreateCustomVocabularyItemInput
fn clone(&self) -> BatchCreateCustomVocabularyItemInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchCreateCustomVocabularyItemInput
impl PartialEq for BatchCreateCustomVocabularyItemInput
source§fn eq(&self, other: &BatchCreateCustomVocabularyItemInput) -> bool
fn eq(&self, other: &BatchCreateCustomVocabularyItemInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchCreateCustomVocabularyItemInput
Auto Trait Implementations§
impl Freeze for BatchCreateCustomVocabularyItemInput
impl RefUnwindSafe for BatchCreateCustomVocabularyItemInput
impl Send for BatchCreateCustomVocabularyItemInput
impl Sync for BatchCreateCustomVocabularyItemInput
impl Unpin for BatchCreateCustomVocabularyItemInput
impl UnwindSafe for BatchCreateCustomVocabularyItemInput
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