pub struct BotImportCompletedFluentBuilder { /* private fields */ }Expand description
Fluent builder for the bot_import_completed waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send method, it has
a wait method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters trait and calling the methods
prefixed with wait_until.
Implementations§
source§impl BotImportCompletedFluentBuilder
impl BotImportCompletedFluentBuilder
sourcepub fn as_input(&self) -> &DescribeImportInputBuilder
pub fn as_input(&self) -> &DescribeImportInputBuilder
Access the DescribeImport as a reference.
sourcepub async fn wait(
self,
max_wait: Duration,
) -> Result<BotImportCompletedFinalPoll, WaitUntilBotImportCompletedError>
pub async fn wait( self, max_wait: Duration, ) -> Result<BotImportCompletedFinalPoll, WaitUntilBotImportCompletedError>
Wait until a bot has been imported
sourcepub fn import_id(self, input: impl Into<String>) -> Self
pub fn import_id(self, input: impl Into<String>) -> Self
The unique identifier of the import to describe.
sourcepub fn set_import_id(self, input: Option<String>) -> Self
pub fn set_import_id(self, input: Option<String>) -> Self
The unique identifier of the import to describe.
sourcepub fn get_import_id(&self) -> &Option<String>
pub fn get_import_id(&self) -> &Option<String>
The unique identifier of the import to describe.
Trait Implementations§
source§impl Clone for BotImportCompletedFluentBuilder
impl Clone for BotImportCompletedFluentBuilder
source§fn clone(&self) -> BotImportCompletedFluentBuilder
fn clone(&self) -> BotImportCompletedFluentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BotImportCompletedFluentBuilder
impl !RefUnwindSafe for BotImportCompletedFluentBuilder
impl Send for BotImportCompletedFluentBuilder
impl Sync for BotImportCompletedFluentBuilder
impl Unpin for BotImportCompletedFluentBuilder
impl !UnwindSafe for BotImportCompletedFluentBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.