#[non_exhaustive]pub struct StartImportOutput {
pub import_id: Option<String>,
pub resource_specification: Option<ImportResourceSpecification>,
pub merge_strategy: Option<MergeStrategy>,
pub import_status: Option<ImportStatus>,
pub creation_date_time: Option<DateTime>,
/* 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.import_id: Option<String>
A unique identifier for the import.
resource_specification: Option<ImportResourceSpecification>
The parameters used when importing the resource.
merge_strategy: Option<MergeStrategy>
The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict
existing resources are not overwritten and the import fails.
import_status: Option<ImportStatus>
The current status of the import. When the status is Complete
the bot, bot alias, or custom vocabulary is ready to use.
creation_date_time: Option<DateTime>
The date and time that the import request was created.
Implementations§
source§impl StartImportOutput
impl StartImportOutput
sourcepub fn resource_specification(&self) -> Option<&ImportResourceSpecification>
pub fn resource_specification(&self) -> Option<&ImportResourceSpecification>
The parameters used when importing the resource.
sourcepub fn merge_strategy(&self) -> Option<&MergeStrategy>
pub fn merge_strategy(&self) -> Option<&MergeStrategy>
The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict
existing resources are not overwritten and the import fails.
sourcepub fn import_status(&self) -> Option<&ImportStatus>
pub fn import_status(&self) -> Option<&ImportStatus>
The current status of the import. When the status is Complete
the bot, bot alias, or custom vocabulary is ready to use.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time that the import request was created.
source§impl StartImportOutput
impl StartImportOutput
sourcepub fn builder() -> StartImportOutputBuilder
pub fn builder() -> StartImportOutputBuilder
Creates a new builder-style object to manufacture StartImportOutput
.
Trait Implementations§
source§impl Clone for StartImportOutput
impl Clone for StartImportOutput
source§fn clone(&self) -> StartImportOutput
fn clone(&self) -> StartImportOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartImportOutput
impl Debug for StartImportOutput
source§impl PartialEq for StartImportOutput
impl PartialEq for StartImportOutput
source§fn eq(&self, other: &StartImportOutput) -> bool
fn eq(&self, other: &StartImportOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for StartImportOutput
impl RequestId for StartImportOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for StartImportOutput
Auto Trait Implementations§
impl Freeze for StartImportOutput
impl RefUnwindSafe for StartImportOutput
impl Send for StartImportOutput
impl Sync for StartImportOutput
impl Unpin for StartImportOutput
impl UnwindSafe for StartImportOutput
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