#[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 ==
.impl StructuralPartialEq for CreateExportInput
Auto Trait Implementations§
impl Freeze for CreateExportInput
impl RefUnwindSafe for CreateExportInput
impl Send for CreateExportInput
impl Sync for CreateExportInput
impl Unpin for CreateExportInput
impl UnwindSafe for CreateExportInput
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> 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