aws_sdk_s3/protocol_serde/
shape_restore_object_output.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub(crate) fn de_request_charged_header(
3    header_map: &::aws_smithy_runtime_api::http::Headers,
4) -> ::std::result::Result<::std::option::Option<crate::types::RequestCharged>, ::aws_smithy_http::header::ParseError> {
5    let headers = header_map.get_all("x-amz-request-charged");
6    ::aws_smithy_http::header::one_or_none(headers)
7}
8
9pub(crate) fn de_restore_output_path_header(
10    header_map: &::aws_smithy_runtime_api::http::Headers,
11) -> ::std::result::Result<::std::option::Option<::std::string::String>, ::aws_smithy_http::header::ParseError> {
12    let headers = header_map.get_all("x-amz-restore-output-path");
13    ::aws_smithy_http::header::one_or_none(headers)
14}