pub enum HttpMatchQuality {
Matched(f32),
NotMatched,
Disabled,
}Expand description
Quality classification for an HTTP match.
Matched(score)a signature was matched with the given quality score (higher is better, typically in[0.0, 1.0]).NotMatchedthe matcher was active but no signature was a viable fit.Disabledmatching was disabled (no matcher plugged in).
Variants§
Trait Implementations§
Source§impl Clone for MatchQuality
impl Clone for MatchQuality
Source§fn clone(&self) -> MatchQuality
fn clone(&self) -> MatchQuality
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 moreSource§impl Debug for MatchQuality
impl Debug for MatchQuality
Source§impl Serialize for MatchQuality
impl Serialize for MatchQuality
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MatchQuality
impl RefUnwindSafe for MatchQuality
impl Send for MatchQuality
impl Sync for MatchQuality
impl Unpin for MatchQuality
impl UnsafeUnpin for MatchQuality
impl UnwindSafe for MatchQuality
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