pub fn parse_ss58(s: &mut &str) -> Option<Result<Value<()>, ParseError>>Expand description
Attempt to parse an ss58 address into a Value<()> (or more specifically,
an unnamed composite wrapped in a newtype which represents an AccountId32).
- Returns
Noneif we can’t parse the address. - Returns
Some(value)if parsing was successful. In this case, the string reference given is wound forwards to consume what was parsed.