Function sui_types::parse_sui_struct_tag
source · pub fn parse_sui_struct_tag(s: &str) -> Result<StructTag>
Expand description
Parse s
as a struct type: A fully-qualified name, optionally followed by a list of type
parameters (types – see parse_sui_type_tag
, separated by commas, surrounded by angle
brackets). Parsing succeeds if and only if s
matches this format exactly, with no remaining
input. This function is intended for use within the authority codebase.