pub fn parse_action(s: &str) -> Result<Action, String>
Parse a stable action string.
Supported:
drop
hash
hash=sha256
mask=<visible_prefix>:<visible_suffix>:<mask_char>
truncate=<max_bytes>
replace_with=<string>