pub struct RegexMatchRuleInToml {
pub match_str: Option<String>,
pub replace: Option<String>,
pub script: Option<String>,
pub import: Option<String>,
}Expand description
Stream rule configuration
Fields§
§match_str: Option<String>§replace: Option<String>§script: Option<String>§import: Option<String>Trait Implementations§
Source§impl Clone for RegexMatchRuleInToml
impl Clone for RegexMatchRuleInToml
Source§fn clone(&self) -> RegexMatchRuleInToml
fn clone(&self) -> RegexMatchRuleInToml
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 RegexMatchRuleInToml
impl Debug for RegexMatchRuleInToml
Source§impl Default for RegexMatchRuleInToml
impl Default for RegexMatchRuleInToml
Source§fn default() -> RegexMatchRuleInToml
fn default() -> RegexMatchRuleInToml
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegexMatchRuleInTomlwhere
RegexMatchRuleInToml: Default,
impl<'de> Deserialize<'de> for RegexMatchRuleInTomlwhere
RegexMatchRuleInToml: Default,
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 RegexMatchRuleInToml
impl RefUnwindSafe for RegexMatchRuleInToml
impl Send for RegexMatchRuleInToml
impl Sync for RegexMatchRuleInToml
impl Unpin for RegexMatchRuleInToml
impl UnwindSafe for RegexMatchRuleInToml
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