pub fn format_prefixed_id(
prefix: &IdPrefix,
value: &str,
) -> Result<String, IdPrefixError>Expand description
Formats a prefix and value into the canonical prefix_value representation.
ยงErrors
Returns IdPrefixError::EmptyValue when the trimmed value is empty and
IdPrefixError::InvalidValueCharacter when it contains unsupported characters.