pub enum MatchScope {
Url,
Html,
Js,
Script,
ScriptSrc,
Header,
Cookie,
Meta,
}Expand description
匹配作用域枚举,定义所有支持的检测维度
Variants§
Trait Implementations§
Source§impl Clone for MatchScope
impl Clone for MatchScope
Source§fn clone(&self) -> MatchScope
fn clone(&self) -> MatchScope
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 MatchScope
impl Debug for MatchScope
Source§impl<'de> Deserialize<'de> for MatchScope
impl<'de> Deserialize<'de> for MatchScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MatchScope
impl Display for MatchScope
Source§impl Hash for MatchScope
impl Hash for MatchScope
Source§impl PartialEq for MatchScope
impl PartialEq for MatchScope
Source§impl Serialize for MatchScope
impl Serialize for MatchScope
impl Eq for MatchScope
impl StructuralPartialEq for MatchScope
Auto Trait Implementations§
impl Freeze for MatchScope
impl RefUnwindSafe for MatchScope
impl Send for MatchScope
impl Sync for MatchScope
impl Unpin for MatchScope
impl UnsafeUnpin for MatchScope
impl UnwindSafe for MatchScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.