Skip to main content

render_feature_page_html

Function render_feature_page_html 

Source
pub fn render_feature_page_html(
    app: &AppRuntime,
    route: &Value,
    target: &str,
    actor_id: i64,
    has_user: bool,
    csrf_token: &str,
) -> Result<String, FeatureRuntimeError>
Expand description

Renders a full feature page.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::feature_runtime::render_feature_page_html or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::feature_runtime::render_feature_page_html cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::runtime::feature_runtime::render_feature_page_html(todo!(), todo!(), "/", 1, todo!(), todo!());