Struct kube_client::client::middleware::ExtraHeadersLayer
source · [−]pub struct ExtraHeadersLayer { /* private fields */ }
Available on crate feature
client
only.Expand description
Layer that adds a static set of extra headers to each request
Trait Implementations
sourceimpl Clone for ExtraHeadersLayer
impl Clone for ExtraHeadersLayer
sourcefn clone(&self) -> ExtraHeadersLayer
fn clone(&self) -> ExtraHeadersLayer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<S> Layer<S> for ExtraHeadersLayer
impl<S> Layer<S> for ExtraHeadersLayer
Auto Trait Implementations
impl RefUnwindSafe for ExtraHeadersLayer
impl Send for ExtraHeadersLayer
impl Sync for ExtraHeadersLayer
impl Unpin for ExtraHeadersLayer
impl UnwindSafe for ExtraHeadersLayer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more