Skip to main content

validate_user_attr_key

Function validate_user_attr_key 

pub fn validate_user_attr_key(key: &str) -> Result<()>
Expand description

Rejects keys that would collide with generated interoperability metadata.

Empty and otherwise arbitrary strings are valid; only the reserved prefix has framework meaning.

ยงErrors

Returns Error::Conflict if key starts with RESERVED_USER_ATTR_PREFIX.