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