Struct aws_sdk_lexmodelsv2::operation::batch_update_custom_vocabulary_item::BatchUpdateCustomVocabularyItemOutput
source · #[non_exhaustive]pub struct BatchUpdateCustomVocabularyItemOutput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub errors: Option<Vec<FailedCustomVocabularyItem>>,
pub resources: Option<Vec<CustomVocabularyItem>>,
/* private fields */
}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 .
errors: Option<Vec<FailedCustomVocabularyItem>>A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
resources: Option<Vec<CustomVocabularyItem>>A list of custom vocabulary items that were successfully updated during the operation.
Implementations§
source§impl BatchUpdateCustomVocabularyItemOutput
impl BatchUpdateCustomVocabularyItemOutput
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 errors(&self) -> &[FailedCustomVocabularyItem]
pub fn errors(&self) -> &[FailedCustomVocabularyItem]
A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none().
sourcepub fn resources(&self) -> &[CustomVocabularyItem]
pub fn resources(&self) -> &[CustomVocabularyItem]
A list of custom vocabulary items that were successfully updated during the operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none().
source§impl BatchUpdateCustomVocabularyItemOutput
impl BatchUpdateCustomVocabularyItemOutput
sourcepub fn builder() -> BatchUpdateCustomVocabularyItemOutputBuilder
pub fn builder() -> BatchUpdateCustomVocabularyItemOutputBuilder
Creates a new builder-style object to manufacture BatchUpdateCustomVocabularyItemOutput.
Trait Implementations§
source§impl Clone for BatchUpdateCustomVocabularyItemOutput
impl Clone for BatchUpdateCustomVocabularyItemOutput
source§fn clone(&self) -> BatchUpdateCustomVocabularyItemOutput
fn clone(&self) -> BatchUpdateCustomVocabularyItemOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchUpdateCustomVocabularyItemOutput
impl PartialEq for BatchUpdateCustomVocabularyItemOutput
source§fn eq(&self, other: &BatchUpdateCustomVocabularyItemOutput) -> bool
fn eq(&self, other: &BatchUpdateCustomVocabularyItemOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchUpdateCustomVocabularyItemOutput
impl RequestId for BatchUpdateCustomVocabularyItemOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.