Struct wmproxy::ConfigHeader
source · pub struct ConfigHeader {
pub oper: HeaderOper,
pub is_proxy: bool,
pub key: String,
pub val: String,
}
Expand description
反向代理头相关处理配置
Fields§
§oper: HeaderOper
§is_proxy: bool
§key: String
§val: String
Implementations§
source§impl ConfigHeader
impl ConfigHeader
Trait Implementations§
source§impl Clone for ConfigHeader
impl Clone for ConfigHeader
source§fn clone(&self) -> ConfigHeader
fn clone(&self) -> ConfigHeader
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 moresource§impl Debug for ConfigHeader
impl Debug for ConfigHeader
source§impl Display for ConfigHeader
impl Display for ConfigHeader
source§impl FromStr for ConfigHeader
impl FromStr for ConfigHeader
source§impl PartialEq for ConfigHeader
impl PartialEq for ConfigHeader
source§fn eq(&self, other: &ConfigHeader) -> bool
fn eq(&self, other: &ConfigHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConfigHeader
impl StructuralPartialEq for ConfigHeader
Auto Trait Implementations§
impl RefUnwindSafe for ConfigHeader
impl Send for ConfigHeader
impl Sync for ConfigHeader
impl Unpin for ConfigHeader
impl UnwindSafe for ConfigHeader
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.