Skip to main content

resource_kind_from_resource_id

Function resource_kind_from_resource_id 

Source
pub fn resource_kind_from_resource_id(resource_id: &str) -> Option<&'static str>
Expand description

Classifies a resource identifier by its stable prefix.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::resource_kind_from_resource_id can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::resource_kind_from_resource_id.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::resource_kind_from_resource_id(todo!());