#[non_exhaustive]pub struct CreateExportInput {
pub resource_specification: Option<ExportResourceSpecification>,
pub file_format: Option<ImportExportFileFormat>,
pub file_password: Option<String>,
}
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.resource_specification: Option<ExportResourceSpecification>
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
file_format: Option<ImportExportFileFormat>
The file format of the bot or bot locale definition files.
file_password: Option<String>
An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.
Implementations§
source§impl CreateExportInput
impl CreateExportInput
sourcepub fn resource_specification(&self) -> Option<&ExportResourceSpecification>
pub fn resource_specification(&self) -> Option<&ExportResourceSpecification>
Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.
sourcepub fn file_format(&self) -> Option<&ImportExportFileFormat>
pub fn file_format(&self) -> Option<&ImportExportFileFormat>
The file format of the bot or bot locale definition files.
sourcepub fn file_password(&self) -> Option<&str>
pub fn file_password(&self) -> Option<&str>
An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.
source§impl CreateExportInput
impl CreateExportInput
sourcepub fn builder() -> CreateExportInputBuilder
pub fn builder() -> CreateExportInputBuilder
Creates a new builder-style object to manufacture CreateExportInput
.
Trait Implementations§
source§impl Clone for CreateExportInput
impl Clone for CreateExportInput
source§fn clone(&self) -> CreateExportInput
fn clone(&self) -> CreateExportInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateExportInput
impl Debug for CreateExportInput
source§impl PartialEq for CreateExportInput
impl PartialEq for CreateExportInput
source§fn eq(&self, other: &CreateExportInput) -> bool
fn eq(&self, other: &CreateExportInput) -> bool
self
and other
values to be equal, and is used
by ==
.