#[non_exhaustive]pub struct ImportResourceSpecification {
pub bot_import_specification: Option<BotImportSpecification>,
pub bot_locale_import_specification: Option<BotLocaleImportSpecification>,
pub custom_vocabulary_import_specification: Option<CustomVocabularyImportSpecification>,
}Expand description
Provides information about the bot or bot locale that you want to import. You can specify the botImportSpecification or the botLocaleImportSpecification, but not both.
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_import_specification: Option<BotImportSpecification>Parameters for importing a bot.
bot_locale_import_specification: Option<BotLocaleImportSpecification>Parameters for importing a bot locale.
custom_vocabulary_import_specification: Option<CustomVocabularyImportSpecification>Provides the parameters required for importing a custom vocabulary.
Implementations
Parameters for importing a bot.
Parameters for importing a bot locale.
pub fn custom_vocabulary_import_specification(
&self
) -> Option<&CustomVocabularyImportSpecification>
pub fn custom_vocabulary_import_specification(
&self
) -> Option<&CustomVocabularyImportSpecification>
Provides the parameters required for importing a custom vocabulary.
Creates a new builder-style object to manufacture ImportResourceSpecification
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ImportResourceSpecification
impl Send for ImportResourceSpecification
impl Sync for ImportResourceSpecification
impl Unpin for ImportResourceSpecification
impl UnwindSafe for ImportResourceSpecification
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more