pub enum LogFilter {
ShowAll,
HideAll,
ShowPattern(RegexString),
HidePattern(RegexString),
}Expand description
Only log entries matching this filter will be recorded.
Variants§
ShowAll
All log entries are recorded.
HideAll
No log entries are recorded.
ShowPattern(RegexString)
Only log entries matching this regular expression are recorded.
HidePattern(RegexString)
Only log entries not matching this regular expression are recorded.
Implementations§
Trait Implementations§
Source§impl CandidType for LogFilter
impl CandidType for LogFilter
Source§impl<'de> Deserialize<'de> for LogFilter
impl<'de> Deserialize<'de> for LogFilter
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 LogFilter
impl StructuralPartialEq for LogFilter
Auto Trait Implementations§
impl Freeze for LogFilter
impl RefUnwindSafe for LogFilter
impl Send for LogFilter
impl Sync for LogFilter
impl Unpin for LogFilter
impl UnwindSafe for LogFilter
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