pub struct NormalizeConfig {
pub decode_path: bool,
pub merge_headers: bool,
pub normalize_case: bool,
}Expand description
规范化配置
Fields§
§decode_path: bool是否进行路径解码
merge_headers: bool是否合并同名 Header
normalize_case: bool是否标准化大小写
Trait Implementations§
Source§impl Clone for NormalizeConfig
impl Clone for NormalizeConfig
Source§fn clone(&self) -> NormalizeConfig
fn clone(&self) -> NormalizeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NormalizeConfig
Source§impl Debug for NormalizeConfig
impl Debug for NormalizeConfig
Auto Trait Implementations§
impl Freeze for NormalizeConfig
impl RefUnwindSafe for NormalizeConfig
impl Send for NormalizeConfig
impl Sync for NormalizeConfig
impl Unpin for NormalizeConfig
impl UnsafeUnpin for NormalizeConfig
impl UnwindSafe for NormalizeConfig
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