Derive Macrosยง
- Capturable
- Helper macro for deriving the
FromStr
trait for a struct that captures regular expressions.regex_with
that specifies the regular expression pattern. - DeFrom
Str - Implements the
FromStr
trait for an struct to provide custom string parsing logic that leverages a regex-based serde deserializer. This macro usesCapturable
andserde::Deserialize
, which must be derived separately to provide regex capturing functionality.