Function sui_types::parse_sui_type_tag
source · pub fn parse_sui_type_tag(s: &str) -> Result<TypeTag>
Expand description
Parse s
as a type: Either a struct type (see parse_sui_struct_tag
), a primitive type, or a
vector with a type parameter. 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.