parse_action

Function parse_action 

Source
pub fn parse_action(s: &str) -> Result<Action, String>
Expand description

Parse a stable action string.

Supported:

  • drop
  • hash
  • hash=sha256
  • mask=<visible_prefix>:<visible_suffix>:<mask_char>
  • truncate=<max_bytes>
  • replace_with=<string>