Struct aws_sdk_lexmodelsv2::operation::batch_update_custom_vocabulary_item::BatchUpdateCustomVocabularyItemInput
source · #[non_exhaustive]pub struct BatchUpdateCustomVocabularyItemInput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub custom_vocabulary_item_list: Option<Vec<CustomVocabularyItem>>,
}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<CustomVocabularyItem>>A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
Implementations§
source§impl BatchUpdateCustomVocabularyItemInput
impl BatchUpdateCustomVocabularyItemInput
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) -> &[CustomVocabularyItem]
pub fn custom_vocabulary_item_list(&self) -> &[CustomVocabularyItem]
A list of custom vocabulary items with updated fields. 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 BatchUpdateCustomVocabularyItemInput
impl BatchUpdateCustomVocabularyItemInput
sourcepub fn builder() -> BatchUpdateCustomVocabularyItemInputBuilder
pub fn builder() -> BatchUpdateCustomVocabularyItemInputBuilder
Creates a new builder-style object to manufacture BatchUpdateCustomVocabularyItemInput.
Trait Implementations§
source§impl Clone for BatchUpdateCustomVocabularyItemInput
impl Clone for BatchUpdateCustomVocabularyItemInput
source§fn clone(&self) -> BatchUpdateCustomVocabularyItemInput
fn clone(&self) -> BatchUpdateCustomVocabularyItemInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchUpdateCustomVocabularyItemInput
impl PartialEq for BatchUpdateCustomVocabularyItemInput
source§fn eq(&self, other: &BatchUpdateCustomVocabularyItemInput) -> bool
fn eq(&self, other: &BatchUpdateCustomVocabularyItemInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchUpdateCustomVocabularyItemInput
Auto Trait Implementations§
impl Freeze for BatchUpdateCustomVocabularyItemInput
impl RefUnwindSafe for BatchUpdateCustomVocabularyItemInput
impl Send for BatchUpdateCustomVocabularyItemInput
impl Sync for BatchUpdateCustomVocabularyItemInput
impl Unpin for BatchUpdateCustomVocabularyItemInput
impl UnwindSafe for BatchUpdateCustomVocabularyItemInput
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