pub struct HttpResponseHeaders {
pub date: Option<String>,
pub x_amzn_request_id: Option<String>,
}Expand description
HttpResponseHeaders : A mapping of additional HTTP headers to send/receive for the individual batch request.
Fields§
§date: Option<String>The timestamp that the API request was received. For more information, consult RFC 2616 Section 14.
x_amzn_request_id: Option<String>Unique request reference identifier.
Implementations§
Source§impl HttpResponseHeaders
impl HttpResponseHeaders
Sourcepub fn new() -> HttpResponseHeaders
pub fn new() -> HttpResponseHeaders
A mapping of additional HTTP headers to send/receive for the individual batch request.
Trait Implementations§
Source§impl Clone for HttpResponseHeaders
impl Clone for HttpResponseHeaders
Source§fn clone(&self) -> HttpResponseHeaders
fn clone(&self) -> HttpResponseHeaders
Returns a duplicate 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 moreSource§impl Debug for HttpResponseHeaders
impl Debug for HttpResponseHeaders
Source§impl Default for HttpResponseHeaders
impl Default for HttpResponseHeaders
Source§fn default() -> HttpResponseHeaders
fn default() -> HttpResponseHeaders
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpResponseHeaders
impl<'de> Deserialize<'de> for HttpResponseHeaders
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HttpResponseHeaders
impl PartialEq for HttpResponseHeaders
Source§impl Serialize for HttpResponseHeaders
impl Serialize for HttpResponseHeaders
impl StructuralPartialEq for HttpResponseHeaders
Auto Trait Implementations§
impl Freeze for HttpResponseHeaders
impl RefUnwindSafe for HttpResponseHeaders
impl Send for HttpResponseHeaders
impl Sync for HttpResponseHeaders
impl Unpin for HttpResponseHeaders
impl UnsafeUnpin for HttpResponseHeaders
impl UnwindSafe for HttpResponseHeaders
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