Struct aws_sdk_s3control::model::AsyncResponseDetails
source · #[non_exhaustive]pub struct AsyncResponseDetails { /* private fields */ }
Expand description
A container for the response details that are returned when querying about an asynchronous request.
Implementations§
source§impl AsyncResponseDetails
impl AsyncResponseDetails
sourcepub fn multi_region_access_point_details(
&self
) -> Option<&MultiRegionAccessPointsAsyncResponse>
pub fn multi_region_access_point_details(
&self
) -> Option<&MultiRegionAccessPointsAsyncResponse>
The details for the Multi-Region Access Point.
sourcepub fn error_details(&self) -> Option<&AsyncErrorDetails>
pub fn error_details(&self) -> Option<&AsyncErrorDetails>
Error details for an asynchronous request.
source§impl AsyncResponseDetails
impl AsyncResponseDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AsyncResponseDetails
.
Examples found in repository?
src/xml_deser.rs (line 3498)
3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525
pub fn deser_structure_crate_model_async_response_details(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::AsyncResponseDetails, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::AsyncResponseDetails::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("MultiRegionAccessPointDetails") /* MultiRegionAccessPointDetails com.amazonaws.s3control#AsyncResponseDetails$MultiRegionAccessPointDetails */ => {
let var_151 =
Some(
crate::xml_deser::deser_structure_crate_model_multi_region_access_points_async_response(&mut tag)
?
)
;
builder = builder.set_multi_region_access_point_details(var_151);
}
,
s if s.matches("ErrorDetails") /* ErrorDetails com.amazonaws.s3control#AsyncResponseDetails$ErrorDetails */ => {
let var_152 =
Some(
crate::xml_deser::deser_structure_crate_model_async_error_details(&mut tag)
?
)
;
builder = builder.set_error_details(var_152);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for AsyncResponseDetails
impl Clone for AsyncResponseDetails
source§fn clone(&self) -> AsyncResponseDetails
fn clone(&self) -> AsyncResponseDetails
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 more