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 moreAuto Trait Implementations§
impl RefUnwindSafe for SetSensitiveRequestHeadersLayer
impl Send for SetSensitiveRequestHeadersLayer
impl Sync for SetSensitiveRequestHeadersLayer
impl Unpin for SetSensitiveRequestHeadersLayer
impl UnwindSafe for SetSensitiveRequestHeadersLayer
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