pub enum HeadersAction {
Allow,
ModifyHeaders(HashMap<String, String>),
}Expand description
Action to take for intercepted headers.
Variants§
Implementations§
Source§impl HeadersAction
impl HeadersAction
Trait Implementations§
Source§impl Clone for HeadersAction
impl Clone for HeadersAction
Source§fn clone(&self) -> HeadersAction
fn clone(&self) -> HeadersAction
Returns a duplicate 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 HeadersAction
impl RefUnwindSafe for HeadersAction
impl Send for HeadersAction
impl Sync for HeadersAction
impl Unpin for HeadersAction
impl UnwindSafe for HeadersAction
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