Skip to main content

page_title

Function page_title 

Source
pub fn page_title(page_spec: &Value, body_params: &Value) -> String
Expand description

Returns a page title from declared metadata or a body parameter fallback.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::dynamic::page_title.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::page_title(todo!(), todo!());