pub struct KeyedPattern {
pub key: String,
pub pattern: Pattern,
}Expand description
KV规则结构体(Header/Meta/Cookie专用)
Fields§
§key: String§pattern: PatternTrait Implementations§
Source§impl Clone for KeyedPattern
impl Clone for KeyedPattern
Source§fn clone(&self) -> KeyedPattern
fn clone(&self) -> KeyedPattern
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 moreSource§impl Debug for KeyedPattern
impl Debug for KeyedPattern
Source§impl PartialEq for KeyedPattern
impl PartialEq for KeyedPattern
impl StructuralPartialEq for KeyedPattern
Auto Trait Implementations§
impl Freeze for KeyedPattern
impl RefUnwindSafe for KeyedPattern
impl Send for KeyedPattern
impl Sync for KeyedPattern
impl Unpin for KeyedPattern
impl UnsafeUnpin for KeyedPattern
impl UnwindSafe for KeyedPattern
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