pub struct ForwardConfig {
pub allow: Arc<Vec<String>>,
}Expand description
Configuration for forward_headers_middleware: which inbound header
names should be captured and forwarded.
Fields§
§allow: Arc<Vec<String>>Allow-list of header names to forward (case-insensitive).
Implementations§
Source§impl ForwardConfig
impl ForwardConfig
Trait Implementations§
Source§impl Clone for ForwardConfig
impl Clone for ForwardConfig
Auto Trait Implementations§
impl Freeze for ForwardConfig
impl RefUnwindSafe for ForwardConfig
impl Send for ForwardConfig
impl Sync for ForwardConfig
impl Unpin for ForwardConfig
impl UnsafeUnpin for ForwardConfig
impl UnwindSafe for ForwardConfig
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