pub struct SetSensitiveResponseHeadersLayer { /* private fields */ }
Available on crate feature
sensitive-headers
only.Expand description
Mark response headers as sensitive.
Produces SetSensitiveResponseHeaders
services.
See the module docs for more details.
Implementations§
source§impl SetSensitiveResponseHeadersLayer
impl SetSensitiveResponseHeadersLayer
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 SetSensitiveResponseHeadersLayer
.
Create a new SetSensitiveResponseHeadersLayer
from a shared slice of headers.
Trait Implementations§
source§impl Clone for SetSensitiveResponseHeadersLayer
impl Clone for SetSensitiveResponseHeadersLayer
source§fn clone(&self) -> SetSensitiveResponseHeadersLayer
fn clone(&self) -> SetSensitiveResponseHeadersLayer
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