pub fn declarative_source_default_path_segment(
entity_id: &str,
runtime_collection: Option<&str>,
) -> Option<String>Expand description
Derives a stable generated-admin collection segment from entity metadata.
§Parameters
entity_id: Input consumed bycrate::declarative::declarative_source_default_path_segment.runtime_collection: Input consumed bycrate::declarative::declarative_source_default_path_segment.
§Returns
Returns Some when crate::declarative::declarative_source_default_path_segment 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::declarative::declarative_source_default_path_segment.
§Examples
ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_default_path_segment("entity", todo!());§Related
crate::declarativefor adjacent helpers that share the same runtime surface.