pub struct HTTPHeader {
pub name: Option<String>,
pub value: Option<String>,
}Expand description
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide. For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
The response from a GetSampledRequests request includes an HTTPHeader complex type that appears as Headers in the response syntax. HTTPHeader contains the names and values of all of the headers that appear in one of the web requests that were returned by GetSampledRequests.
Fields§
§name: Option<String>The name of one of the headers in the sampled web request.
value: Option<String>The value of one of the headers in the sampled web request.
Trait Implementations§
Source§impl Clone for HTTPHeader
impl Clone for HTTPHeader
Source§fn clone(&self) -> HTTPHeader
fn clone(&self) -> HTTPHeader
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 HTTPHeader
impl Debug for HTTPHeader
Source§impl Default for HTTPHeader
impl Default for HTTPHeader
Source§fn default() -> HTTPHeader
fn default() -> HTTPHeader
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HTTPHeader
impl<'de> Deserialize<'de> for HTTPHeader
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 HTTPHeader
impl PartialEq for HTTPHeader
impl StructuralPartialEq for HTTPHeader
Auto Trait Implementations§
impl Freeze for HTTPHeader
impl RefUnwindSafe for HTTPHeader
impl Send for HTTPHeader
impl Sync for HTTPHeader
impl Unpin for HTTPHeader
impl UnwindSafe for HTTPHeader
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