Trait spicedb_rust::Permission
source · pub trait Permission {
// Required method
fn name(self) -> &'static str;
}Expand description
Represents possible permissions on a Resource
Easiest way to implement is implementing Into<&'static str> for your enum, which can builder
achieved with strum::IntoStaticStr