pub struct StringTest {
pub pattern: Pattern,
pub cased: bool,
}Expand description
A wildcard pattern and whether case matters.
When cased is false the pattern’s literals are already folded with
fold, so an execution path folds the event value and
compares; it never folds the pattern again.
Fields§
§pattern: PatternThe pattern.
cased: boolWhether case matters.
Trait Implementations§
Source§impl Clone for StringTest
impl Clone for StringTest
Source§impl Debug for StringTest
impl Debug for StringTest
Source§impl<'de> Deserialize<'de> for StringTest
impl<'de> Deserialize<'de> for StringTest
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
impl Eq for StringTest
Source§impl PartialEq for StringTest
impl PartialEq for StringTest
Source§impl Serialize for StringTest
impl Serialize for StringTest
impl StructuralPartialEq for StringTest
Auto Trait Implementations§
impl Forget for StringTest
impl Freeze for StringTest
impl Move for StringTest
impl RefUnwindSafe for StringTest
impl Send for StringTest
impl Sync for StringTest
impl Unpin for StringTest
impl UnsafeUnpin for StringTest
impl UnwindSafe for StringTest
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