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§
source§impl Clone for ExtraHeadersLayer
impl Clone for ExtraHeadersLayer
source§fn clone(&self) -> ExtraHeadersLayer
fn clone(&self) -> ExtraHeadersLayer
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 ExtraHeadersLayer
impl RefUnwindSafe for ExtraHeadersLayer
impl Send for ExtraHeadersLayer
impl Sync for ExtraHeadersLayer
impl Unpin for ExtraHeadersLayer
impl UnwindSafe for ExtraHeadersLayer
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