Skip to main content

role_type

Function role_type 

Source
pub fn role_type(id: &str) -> &str
Expand description

Extract the role type from a role ID.

"witness__1" → "witness", "operator" → "operator".