pub struct KVPattern {
pub key: NormalPattern,
pub value: NormalPattern,
}Expand description
键值对模式,用于匹配HTTP头或查询参数
TODO: 支持key的匹配项参与匹配?
Fields§
§key: NormalPattern§value: NormalPatternTrait Implementations§
impl Eq for KVPattern
impl StructuralPartialEq for KVPattern
Auto Trait Implementations§
impl Freeze for KVPattern
impl RefUnwindSafe for KVPattern
impl Send for KVPattern
impl Sync for KVPattern
impl Unpin for KVPattern
impl UnsafeUnpin for KVPattern
impl UnwindSafe for KVPattern
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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