Struct aws_sdk_s3control::types::AsyncOperation
source · #[non_exhaustive]pub struct AsyncOperation {
pub creation_time: Option<DateTime>,
pub operation: Option<AsyncOperationName>,
pub request_token_arn: Option<String>,
pub request_parameters: Option<AsyncRequestParameters>,
pub request_status: Option<String>,
pub response_details: Option<AsyncResponseDetails>,
}
Expand description
A container for the information about an asynchronous operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.creation_time: Option<DateTime>
The time that the request was sent to the service.
operation: Option<AsyncOperationName>
The specific operation for the asynchronous request.
request_token_arn: Option<String>
The request token associated with the request.
request_parameters: Option<AsyncRequestParameters>
The parameters associated with the request.
request_status: Option<String>
The current status of the request.
response_details: Option<AsyncResponseDetails>
The details of the response.
Implementations§
source§impl AsyncOperation
impl AsyncOperation
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the request was sent to the service.
sourcepub fn operation(&self) -> Option<&AsyncOperationName>
pub fn operation(&self) -> Option<&AsyncOperationName>
The specific operation for the asynchronous request.
sourcepub fn request_token_arn(&self) -> Option<&str>
pub fn request_token_arn(&self) -> Option<&str>
The request token associated with the request.
sourcepub fn request_parameters(&self) -> Option<&AsyncRequestParameters>
pub fn request_parameters(&self) -> Option<&AsyncRequestParameters>
The parameters associated with the request.
sourcepub fn request_status(&self) -> Option<&str>
pub fn request_status(&self) -> Option<&str>
The current status of the request.
sourcepub fn response_details(&self) -> Option<&AsyncResponseDetails>
pub fn response_details(&self) -> Option<&AsyncResponseDetails>
The details of the response.
source§impl AsyncOperation
impl AsyncOperation
sourcepub fn builder() -> AsyncOperationBuilder
pub fn builder() -> AsyncOperationBuilder
Creates a new builder-style object to manufacture AsyncOperation
.
Trait Implementations§
source§impl Clone for AsyncOperation
impl Clone for AsyncOperation
source§fn clone(&self) -> AsyncOperation
fn clone(&self) -> AsyncOperation
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 moresource§impl Debug for AsyncOperation
impl Debug for AsyncOperation
source§impl PartialEq for AsyncOperation
impl PartialEq for AsyncOperation
source§fn eq(&self, other: &AsyncOperation) -> bool
fn eq(&self, other: &AsyncOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AsyncOperation
Auto Trait Implementations§
impl Freeze for AsyncOperation
impl RefUnwindSafe for AsyncOperation
impl Send for AsyncOperation
impl Sync for AsyncOperation
impl Unpin for AsyncOperation
impl UnwindSafe for AsyncOperation
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> 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.