pub struct SetSensitiveRequestHeadersLayer { /* private fields */ }
Available on crate feature
sensitive-headers
only.Expand description
Mark request headers as sensitive.
Produces SetSensitiveRequestHeaders
services.
See the module docs for more details.
Implementations§
source§impl SetSensitiveRequestHeadersLayer
impl SetSensitiveRequestHeadersLayer
sourcepub fn new<I>(headers: I) -> Selfwhere
I: IntoIterator<Item = HeaderName>,
pub fn new<I>(headers: I) -> Selfwhere
I: IntoIterator<Item = HeaderName>,
Create a new SetSensitiveRequestHeadersLayer
.
Create a new SetSensitiveRequestHeadersLayer
from a shared slice of headers.
Trait Implementations§
source§impl Clone for SetSensitiveRequestHeadersLayer
impl Clone for SetSensitiveRequestHeadersLayer
source§fn clone(&self) -> SetSensitiveRequestHeadersLayer
fn clone(&self) -> SetSensitiveRequestHeadersLayer
Returns a copy 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 more