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 Freeze for SetSensitiveRequestHeadersLayer
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