Skip to main content

declarative_source_path_segment_from_manage_path

Function declarative_source_path_segment_from_manage_path 

Source
pub fn declarative_source_path_segment_from_manage_path(
    manage_path: &str,
) -> Option<String>
Expand description

Converts one generated-admin path into its final resource segment.

§Parameters

§Returns

Returns Some when crate::declarative::declarative_source_path_segment_from_manage_path can produce a value and None otherwise.

§Panics

May panic if an internal invariant assumed by crate::declarative::declarative_source_path_segment_from_manage_path is violated.

§Performance

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

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_path_segment_from_manage_path(todo!());