pub struct AwsResponse {
pub status: StatusCode,
pub content_type: String,
pub body: Bytes,
pub headers: HeaderMap,
}Expand description
A response from a service handler.
Fields§
§status: StatusCode§content_type: String§body: Bytes§headers: HeaderMapImplementations§
Auto Trait Implementations§
impl !Freeze for AwsResponse
impl RefUnwindSafe for AwsResponse
impl Send for AwsResponse
impl Sync for AwsResponse
impl Unpin for AwsResponse
impl UnsafeUnpin for AwsResponse
impl UnwindSafe for AwsResponse
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