Skip to main content

declarative_source_append_generated_route_mut

Function declarative_source_append_generated_route_mut 

Source
pub fn declarative_source_append_generated_route_mut(
    routes: &mut Vec<Value>,
    route_id: &str,
    path: &str,
    kind: &str,
    page_or_action_id: &str,
    auth_gate: Option<&str>,
    policy_gate: Option<&str>,
    layout_id: Option<&str>,
) -> bool
Expand description

Performs declarative source append generated route mut.

§Parameters

§Returns

Returns true when the condition checked by crate::declarative::declarative_source_append_generated_route_mut holds and false otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_append_generated_route_mut(todo!(), todo!(), std::path::Path::new("fixture.json"), todo!(), todo!(), todo!(), todo!(), todo!());