pub struct PresignedResponse {
pub status_code: u16,
pub headers: HashMap<String, String>,
pub body: Option<Bytes>,
}Expand description
Response from executing a presigned request
Fields§
§status_code: u16HTTP status code (200, 404, etc.) or equivalent
headers: HashMap<String, String>Response headers
body: Option<Bytes>Response body (for GET operations)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PresignedResponse
impl RefUnwindSafe for PresignedResponse
impl Send for PresignedResponse
impl Sync for PresignedResponse
impl Unpin for PresignedResponse
impl UnsafeUnpin for PresignedResponse
impl UnwindSafe for PresignedResponse
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