pub struct RegexMatchConfig {
pub _match: String,
pub replace: String,
pub script: String,
pub compiled_rule: Option<CompiledRule>,
pub compiled_regex_for_replace: Option<Regex>,
}Expand description
Configuration for regex-based matching operations
Fields§
§_match: String§replace: String§script: String§compiled_rule: Option<CompiledRule>§compiled_regex_for_replace: Option<Regex>Implementations§
Trait Implementations§
Source§impl Clone for RegexMatchConfig
impl Clone for RegexMatchConfig
Source§fn clone(&self) -> RegexMatchConfig
fn clone(&self) -> RegexMatchConfig
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 RegexMatchConfig
impl Debug for RegexMatchConfig
Source§impl<'de> Deserialize<'de> for RegexMatchConfig
impl<'de> Deserialize<'de> for RegexMatchConfig
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 Into<RegexMatchConfig> for RegexMatchRuleInToml
impl Into<RegexMatchConfig> for RegexMatchRuleInToml
Source§fn into(self) -> RegexMatchConfig
fn into(self) -> RegexMatchConfig
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for RegexMatchConfig
impl RefUnwindSafe for RegexMatchConfig
impl Send for RegexMatchConfig
impl Sync for RegexMatchConfig
impl Unpin for RegexMatchConfig
impl UnwindSafe for RegexMatchConfig
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