pub enum SignalPattern {
Substring(String),
Regex(String),
Alias(String),
}Expand description
Signal match pattern - supports substring, regex, and multi-language alias
Variants§
Substring(String)
Substring match (default)
Regex(String)
Regex pattern with flags
Alias(String)
Multi-language alias (pipe-delimited)
Implementations§
Trait Implementations§
Source§impl Clone for SignalPattern
impl Clone for SignalPattern
Source§fn clone(&self) -> SignalPattern
fn clone(&self) -> SignalPattern
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 SignalPattern
impl Debug for SignalPattern
Source§impl<'de> Deserialize<'de> for SignalPattern
impl<'de> Deserialize<'de> for SignalPattern
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 From<String> for SignalPattern
impl From<String> for SignalPattern
Auto Trait Implementations§
impl Freeze for SignalPattern
impl RefUnwindSafe for SignalPattern
impl Send for SignalPattern
impl Sync for SignalPattern
impl Unpin for SignalPattern
impl UnsafeUnpin for SignalPattern
impl UnwindSafe for SignalPattern
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