Struct aws_smithy_http::operation::Parts
source · #[non_exhaustive]pub struct Parts<H, R> {
pub response_handler: H,
pub retry_classifier: R,
pub metadata: Option<Metadata>,
}
Expand description
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.response_handler: H
The response deserializer that will convert the connector’s response into an operation::Response
retry_classifier: R
The classifier that will determine if an HTTP response indicates that a request failed for a retryable reason.
metadata: Option<Metadata>
Metadata describing this operation and the service it relates to.
Trait Implementations§
Auto Trait Implementations§
impl<H, R> RefUnwindSafe for Parts<H, R>where H: RefUnwindSafe, R: RefUnwindSafe,
impl<H, R> Send for Parts<H, R>where H: Send, R: Send,
impl<H, R> Sync for Parts<H, R>where H: Sync, R: Sync,
impl<H, R> Unpin for Parts<H, R>where H: Unpin, R: Unpin,
impl<H, R> UnwindSafe for Parts<H, R>where H: UnwindSafe, R: UnwindSafe,
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